//===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2024 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Soto project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//

// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
// DO NOT EDIT.

#if canImport(FoundationEssentials)
import FoundationEssentials
#else
import Foundation
#endif
@_exported import SotoCore

/// Service object for interacting with AWS Redshift service.
///
/// Amazon Redshift  Overview  This is an interface reference for Amazon Redshift. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift clusters. Note that Amazon Redshift is asynchronous, which means that some interfaces may require techniques, such as polling or asynchronous callback handlers, to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a change is applied immediately, on the next instance reboot, or during the next maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to Using the Amazon Redshift Management Interfaces. Amazon Redshift manages all the work of setting up, operating, and scaling a data warehouse: provisioning capacity, monitoring and backing up the cluster, and applying patches and upgrades to the Amazon Redshift engine. You can focus on using your data to acquire new insights for your business and customers. If you are a first-time user of Amazon Redshift, we recommend that you begin by reading the Amazon Redshift Getting Started Guide. If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design, build, query, and maintain the databases that make up your data warehouse.
public struct Redshift: AWSService {
    // MARK: Member variables

    /// Client used for communication with AWS
    public let client: AWSClient
    /// Service configuration
    public let config: AWSServiceConfig

    // MARK: Initialization

    /// Initialize the Redshift client
    /// - parameters:
    ///     - client: AWSClient used to process requests
    ///     - region: Region of server you want to communicate with. This will override the partition parameter.
    ///     - partition: AWS partition where service resides, standard (.aws), china (.awscn), government (.awsusgov).
    ///     - endpoint: Custom endpoint URL to use instead of standard AWS servers
    ///     - middleware: Middleware chain used to edit requests before they are sent and responses before they are decoded 
    ///     - timeout: Timeout value for HTTP requests
    ///     - byteBufferAllocator: Allocator for ByteBuffers
    ///     - options: Service options
    public init(
        client: AWSClient,
        region: SotoCore.Region? = nil,
        partition: AWSPartition = .aws,
        endpoint: String? = nil,
        middleware: AWSMiddlewareProtocol? = nil,
        timeout: TimeAmount? = nil,
        byteBufferAllocator: ByteBufferAllocator = ByteBufferAllocator(),
        options: AWSServiceConfig.Options = []
    ) {
        self.client = client
        self.config = AWSServiceConfig(
            region: region,
            partition: region?.partition ?? partition,
            serviceName: "Redshift",
            serviceIdentifier: "redshift",
            serviceProtocol: .query,
            apiVersion: "2012-12-01",
            endpoint: endpoint,
            serviceEndpoints: Self.serviceEndpoints,
            variantEndpoints: Self.variantEndpoints,
            errorType: RedshiftErrorType.self,
            xmlNamespace: "http://redshift.amazonaws.com/doc/2012-12-01/",
            middleware: middleware,
            timeout: timeout,
            byteBufferAllocator: byteBufferAllocator,
            options: options
        )
    }


    /// custom endpoints for regions
    static var serviceEndpoints: [String: String] {[
        "us-gov-east-1": "redshift.us-gov-east-1.amazonaws.com",
        "us-gov-west-1": "redshift.us-gov-west-1.amazonaws.com",
        "us-iso-east-1": "redshift.us-iso-east-1.c2s.ic.gov",
        "us-iso-west-1": "redshift.us-iso-west-1.c2s.ic.gov",
        "us-isob-east-1": "redshift.us-isob-east-1.sc2s.sgov.gov"
    ]}


    /// FIPS and dualstack endpoints
    static var variantEndpoints: [EndpointVariantType: AWSServiceConfig.EndpointVariant] {[
        [.fips]: .init(endpoints: [
            "ca-central-1": "redshift-fips.ca-central-1.amazonaws.com",
            "ca-west-1": "redshift-fips.ca-west-1.amazonaws.com",
            "us-east-1": "redshift-fips.us-east-1.amazonaws.com",
            "us-east-2": "redshift-fips.us-east-2.amazonaws.com",
            "us-west-1": "redshift-fips.us-west-1.amazonaws.com",
            "us-west-2": "redshift-fips.us-west-2.amazonaws.com"
        ])
    ]}

    // MARK: API Calls

    /// Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.
    @Sendable
    @inlinable
    public func acceptReservedNodeExchange(_ input: AcceptReservedNodeExchangeInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> AcceptReservedNodeExchangeOutputMessage {
        try await self.client.execute(
            operation: "AcceptReservedNodeExchange", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.
    ///
    /// Parameters:
    ///   - reservedNodeId: A string representing the node identifier of the DC1 Reserved Node to be exchanged.
    ///   - targetReservedNodeOfferingId: The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings
    ///   - logger: Logger use during operation
    @inlinable
    public func acceptReservedNodeExchange(
        reservedNodeId: String? = nil,
        targetReservedNodeOfferingId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> AcceptReservedNodeExchangeOutputMessage {
        let input = AcceptReservedNodeExchangeInputMessage(
            reservedNodeId: reservedNodeId, 
            targetReservedNodeOfferingId: targetReservedNodeOfferingId
        )
        return try await self.acceptReservedNodeExchange(input, logger: logger)
    }

    /// Adds a partner integration to a cluster. This operation authorizes a partner to push status updates for the specified database.  To complete the integration, you also set up the integration on the partner website.
    @Sendable
    @inlinable
    public func addPartner(_ input: PartnerIntegrationInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PartnerIntegrationOutputMessage {
        try await self.client.execute(
            operation: "AddPartner", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Adds a partner integration to a cluster. This operation authorizes a partner to push status updates for the specified database.  To complete the integration, you also set up the integration on the partner website.
    ///
    /// Parameters:
    ///   - accountId: The Amazon Web Services account ID that owns the cluster.
    ///   - clusterIdentifier: The cluster identifier of the cluster that receives data from the partner.
    ///   - databaseName: The name of the database that receives data from the partner.
    ///   - partnerName: The name of the partner that is authorized to send data.
    ///   - logger: Logger use during operation
    @inlinable
    public func addPartner(
        accountId: String? = nil,
        clusterIdentifier: String? = nil,
        databaseName: String? = nil,
        partnerName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PartnerIntegrationOutputMessage {
        let input = PartnerIntegrationInputMessage(
            accountId: accountId, 
            clusterIdentifier: clusterIdentifier, 
            databaseName: databaseName, 
            partnerName: partnerName
        )
        return try await self.addPartner(input, logger: logger)
    }

    /// From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
    @Sendable
    @inlinable
    public func associateDataShareConsumer(_ input: AssociateDataShareConsumerMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DataShare {
        try await self.client.execute(
            operation: "AssociateDataShareConsumer", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
    ///
    /// Parameters:
    ///   - allowWrites: If set to true, allows write operations for a datashare.
    ///   - associateEntireAccount: A value that specifies whether the datashare is associated with the entire account.
    ///   - consumerArn: The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
    ///   - consumerRegion: From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
    ///   - dataShareArn: The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
    ///   - logger: Logger use during operation
    @inlinable
    public func associateDataShareConsumer(
        allowWrites: Bool? = nil,
        associateEntireAccount: Bool? = nil,
        consumerArn: String? = nil,
        consumerRegion: String? = nil,
        dataShareArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DataShare {
        let input = AssociateDataShareConsumerMessage(
            allowWrites: allowWrites, 
            associateEntireAccount: associateEntireAccount, 
            consumerArn: consumerArn, 
            consumerRegion: consumerRegion, 
            dataShareArn: dataShareArn
        )
        return try await self.associateDataShareConsumer(input, logger: logger)
    }

    /// Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group. If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same Amazon Web Services Region.  If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing.  You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func authorizeClusterSecurityGroupIngress(_ input: AuthorizeClusterSecurityGroupIngressMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> AuthorizeClusterSecurityGroupIngressResult {
        try await self.client.execute(
            operation: "AuthorizeClusterSecurityGroupIngress", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group. If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same Amazon Web Services Region.  If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing.  You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - cidrip: The IP range to be added the Amazon Redshift security group.
    ///   - clusterSecurityGroupName: The name of the security group to which the ingress rule is added.
    ///   - ec2SecurityGroupName: The EC2 security group to be added the Amazon Redshift security group.
    ///   - ec2SecurityGroupOwnerId: The Amazon Web Services account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The Amazon Web Services Access Key ID is not an acceptable value.  Example: 111122223333
    ///   - logger: Logger use during operation
    @inlinable
    public func authorizeClusterSecurityGroupIngress(
        cidrip: String? = nil,
        clusterSecurityGroupName: String? = nil,
        ec2SecurityGroupName: String? = nil,
        ec2SecurityGroupOwnerId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> AuthorizeClusterSecurityGroupIngressResult {
        let input = AuthorizeClusterSecurityGroupIngressMessage(
            cidrip: cidrip, 
            clusterSecurityGroupName: clusterSecurityGroupName, 
            ec2SecurityGroupName: ec2SecurityGroupName, 
            ec2SecurityGroupOwnerId: ec2SecurityGroupOwnerId
        )
        return try await self.authorizeClusterSecurityGroupIngress(input, logger: logger)
    }

    /// From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account must have the correct access permissions.
    @Sendable
    @inlinable
    public func authorizeDataShare(_ input: AuthorizeDataShareMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DataShare {
        try await self.client.execute(
            operation: "AuthorizeDataShare", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account must have the correct access permissions.
    ///
    /// Parameters:
    ///   - allowWrites: If set to true, allows write operations for a datashare.
    ///   - consumerIdentifier: The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
    ///   - dataShareArn: The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
    ///   - logger: Logger use during operation
    @inlinable
    public func authorizeDataShare(
        allowWrites: Bool? = nil,
        consumerIdentifier: String? = nil,
        dataShareArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DataShare {
        let input = AuthorizeDataShareMessage(
            allowWrites: allowWrites, 
            consumerIdentifier: consumerIdentifier, 
            dataShareArn: dataShareArn
        )
        return try await self.authorizeDataShare(input, logger: logger)
    }

    /// Grants access to a cluster.
    @Sendable
    @inlinable
    public func authorizeEndpointAccess(_ input: AuthorizeEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAuthorization {
        try await self.client.execute(
            operation: "AuthorizeEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Grants access to a cluster.
    ///
    /// Parameters:
    ///   - account: The Amazon Web Services account ID to grant access to.
    ///   - clusterIdentifier: The cluster identifier of the cluster to grant access to.
    ///   - vpcIds: The virtual private cloud (VPC) identifiers to grant access to.
    ///   - logger: Logger use during operation
    @inlinable
    public func authorizeEndpointAccess(
        account: String? = nil,
        clusterIdentifier: String? = nil,
        vpcIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAuthorization {
        let input = AuthorizeEndpointAccessMessage(
            account: account, 
            clusterIdentifier: clusterIdentifier, 
            vpcIds: vpcIds
        )
        return try await self.authorizeEndpointAccess(input, logger: logger)
    }

    /// Authorizes the specified Amazon Web Services account to restore the specified snapshot.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func authorizeSnapshotAccess(_ input: AuthorizeSnapshotAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> AuthorizeSnapshotAccessResult {
        try await self.client.execute(
            operation: "AuthorizeSnapshotAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Authorizes the specified Amazon Web Services account to restore the specified snapshot.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - accountWithRestoreAccess: The identifier of the Amazon Web Services account authorized to restore the specified snapshot. To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot to authorize access to.
    ///   - snapshotClusterIdentifier: The identifier of the cluster the snapshot was created from.    If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots -  This parameter is required. Otherwise, permissions  aren't available to check if the snapshot exists.    If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to  validate snapshot authorization.
    ///   - snapshotIdentifier: The identifier of the snapshot the account is authorized to restore.
    ///   - logger: Logger use during operation
    @inlinable
    public func authorizeSnapshotAccess(
        accountWithRestoreAccess: String? = nil,
        snapshotArn: String? = nil,
        snapshotClusterIdentifier: String? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> AuthorizeSnapshotAccessResult {
        let input = AuthorizeSnapshotAccessMessage(
            accountWithRestoreAccess: accountWithRestoreAccess, 
            snapshotArn: snapshotArn, 
            snapshotClusterIdentifier: snapshotClusterIdentifier, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.authorizeSnapshotAccess(input, logger: logger)
    }

    /// Deletes a set of cluster snapshots.
    @Sendable
    @inlinable
    public func batchDeleteClusterSnapshots(_ input: BatchDeleteClusterSnapshotsRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> BatchDeleteClusterSnapshotsResult {
        try await self.client.execute(
            operation: "BatchDeleteClusterSnapshots", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a set of cluster snapshots.
    ///
    /// Parameters:
    ///   - identifiers: A list of identifiers for the snapshots that you want to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func batchDeleteClusterSnapshots(
        identifiers: [DeleteClusterSnapshotMessage]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> BatchDeleteClusterSnapshotsResult {
        let input = BatchDeleteClusterSnapshotsRequest(
            identifiers: identifiers
        )
        return try await self.batchDeleteClusterSnapshots(input, logger: logger)
    }

    /// Modifies the settings for a set of cluster snapshots.
    @Sendable
    @inlinable
    public func batchModifyClusterSnapshots(_ input: BatchModifyClusterSnapshotsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> BatchModifyClusterSnapshotsOutputMessage {
        try await self.client.execute(
            operation: "BatchModifyClusterSnapshots", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the settings for a set of cluster snapshots.
    ///
    /// Parameters:
    ///   - force: A boolean value indicating whether to override an exception if the retention period has passed.
    ///   - manualSnapshotRetentionPeriod: The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely. The number must be either -1 or an integer between 1 and 3,653. If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
    ///   - snapshotIdentifierList: A list of snapshot identifiers you want to modify.
    ///   - logger: Logger use during operation
    @inlinable
    public func batchModifyClusterSnapshots(
        force: Bool? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        snapshotIdentifierList: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> BatchModifyClusterSnapshotsOutputMessage {
        let input = BatchModifyClusterSnapshotsMessage(
            force: force, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            snapshotIdentifierList: snapshotIdentifierList
        )
        return try await self.batchModifyClusterSnapshots(input, logger: logger)
    }

    /// Cancels a resize operation for a cluster.
    @Sendable
    @inlinable
    public func cancelResize(_ input: CancelResizeMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ResizeProgressMessage {
        try await self.client.execute(
            operation: "CancelResize", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Cancels a resize operation for a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier for the cluster that you want to cancel a resize operation for.
    ///   - logger: Logger use during operation
    @inlinable
    public func cancelResize(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ResizeProgressMessage {
        let input = CancelResizeMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.cancelResize(input, logger: logger)
    }

    /// Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state. When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func copyClusterSnapshot(_ input: CopyClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CopyClusterSnapshotResult {
        try await self.client.execute(
            operation: "CopyClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state. When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - manualSnapshotRetentionPeriod: The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.  The value must be either -1 or an integer between 1 and 3,653. The default value is -1.
    ///   - sourceSnapshotClusterIdentifier: The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. Constraints:   Must be the identifier for a valid cluster.
    ///   - sourceSnapshotIdentifier: The identifier for the source snapshot. Constraints:   Must be the identifier for a valid automated snapshot whose state is available.
    ///   - targetSnapshotIdentifier: The identifier given to the new manual snapshot. Constraints:   Cannot be null, empty, or blank.   Must contain from 1 to 255 alphanumeric characters or hyphens.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique for the Amazon Web Services account that is making the request.
    ///   - logger: Logger use during operation
    @inlinable
    public func copyClusterSnapshot(
        manualSnapshotRetentionPeriod: Int? = nil,
        sourceSnapshotClusterIdentifier: String? = nil,
        sourceSnapshotIdentifier: String? = nil,
        targetSnapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CopyClusterSnapshotResult {
        let input = CopyClusterSnapshotMessage(
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            sourceSnapshotClusterIdentifier: sourceSnapshotClusterIdentifier, 
            sourceSnapshotIdentifier: sourceSnapshotIdentifier, 
            targetSnapshotIdentifier: targetSnapshotIdentifier
        )
        return try await self.copyClusterSnapshot(input, logger: logger)
    }

    /// Creates an authentication profile with the specified parameters.
    @Sendable
    @inlinable
    public func createAuthenticationProfile(_ input: CreateAuthenticationProfileMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateAuthenticationProfileResult {
        try await self.client.execute(
            operation: "CreateAuthenticationProfile", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an authentication profile with the specified parameters.
    ///
    /// Parameters:
    ///   - authenticationProfileContent: The content of the authentication profile in JSON format.  The maximum length of the JSON string is determined by a quota for your account.
    ///   - authenticationProfileName: The name of the authentication profile to be created.
    ///   - logger: Logger use during operation
    @inlinable
    public func createAuthenticationProfile(
        authenticationProfileContent: String? = nil,
        authenticationProfileName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateAuthenticationProfileResult {
        let input = CreateAuthenticationProfileMessage(
            authenticationProfileContent: authenticationProfileContent, 
            authenticationProfileName: authenticationProfileName
        )
        return try await self.createAuthenticationProfile(input, logger: logger)
    }

    /// Creates a new cluster with the specified parameters. To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    @Sendable
    @inlinable
    public func createCluster(_ input: CreateClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateClusterResult {
        try await self.client.execute(
            operation: "CreateCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a new cluster with the specified parameters. To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    ///
    /// Parameters:
    ///   - additionalInfo: Reserved.
    ///   - allowVersionUpgrade: If true, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: true
    ///   - aquaConfigurationStatus: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
    ///   - automatedSnapshotRetentionPeriod: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.  You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days. Default: 1  Constraints: Must be a value from 0 to 35.
    ///   - availabilityZone: The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint. Example: us-east-2d  Constraint: The specified Availability Zone must be in the same region as the current endpoint.
    ///   - availabilityZoneRelocation: The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is created.
    ///   - clusterIdentifier: A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console. Constraints:   Must contain from 1 to 63 alphanumeric characters or hyphens.   Alphabetic characters must be lowercase.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique for all clusters within an Amazon Web Services account.   Example: myexamplecluster
    ///   - clusterParameterGroupName: The name of the parameter group to be associated with this cluster. Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups  Constraints:   Must be 1 to 255 alphanumeric characters or hyphens.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.
    ///   - clusterSecurityGroups: A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift.
    ///   - clusterSubnetGroupName: The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
    ///   - clusterType: The type of the cluster. When cluster type is specified as    single-node, the NumberOfNodes parameter is not required.    multi-node, the NumberOfNodes parameter is required.   Valid Values: multi-node | single-node  Default: multi-node
    ///   - clusterVersion: The version of the Amazon Redshift engine software that you want to deploy on the cluster. The version selected runs on all the nodes in the cluster. Constraints: Only version 1.0 is currently available. Example: 1.0
    ///   - dbName: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to Create a Database in the Amazon Redshift Database Developer Guide.  Default: dev  Constraints:   Must contain 1 to 64 alphanumeric characters.   Must contain only lowercase letters.   Cannot be a word that is reserved by the service. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
    ///   - defaultIamRoleArn: The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was created.
    ///   - elasticIp: The Elastic IP (EIP) address for the cluster. Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. Don't specify the Elastic IP address for a publicly accessible  cluster with availability zone relocation turned on. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide.
    ///   - encrypted: If true, the data in the cluster is encrypted at rest.  If you set the value on this parameter to false, the request will fail. Default: true
    ///   - enhancedVpcRouting: An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled.  Default: false
    ///   - hsmClientCertificateIdentifier: Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
    ///   - hsmConfigurationIdentifier: Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
    ///   - iamRoles: A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon Resource Name (ARN) format.  The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
    ///   - ipAddressType: The IP address types that the cluster supports. Possible values are ipv4 and dualstack.
    ///   - kmsKeyId: The Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
    ///   - loadSampleData: A flag that specifies whether to load sample data once the cluster is created.
    ///   - maintenanceTrackName: An optional parameter for the name of the maintenance track for the cluster. If you don't provide a maintenance track name, the cluster is assigned to the current track.
    ///   - manageMasterPassword: If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials.  You can't use MasterUserPassword if ManageMasterPassword is true.  If ManageMasterPassword is false or not set, Amazon Redshift uses  MasterUserPassword for the admin user account's password.
    ///   - manualSnapshotRetentionPeriod: The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. The value must be either -1 or an integer between 1 and 3,653.
    ///   - masterPasswordSecretKmsKeyId: The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.  You can only use this parameter if ManageMasterPassword is true.
    ///   - masterUsername: The user name associated with the admin user account for the cluster that is being created. Constraints:   Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be PUBLIC.   Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.   The first character must be a letter.   Must not contain a colon (:) or a slash (/).   Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
    ///   - masterUserPassword: The password associated with the admin user account for the cluster that is being created. You can't use MasterUserPassword if ManageMasterPassword is true. Constraints:   Must be between 8 and 64 characters in length.   Must contain at least one uppercase letter.   Must contain at least one lowercase letter.   Must contain one number.   Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
    ///   - multiAZ: If true, Amazon Redshift will deploy the cluster in two Availability Zones (AZ).
    ///   - nodeType: The node type to be provisioned for the cluster. For information about node types, go to  Working with Clusters in the Amazon Redshift Cluster Management Guide.  Valid Values:  dc2.large | dc2.8xlarge |  ra3.large |  ra3.xlplus |  ra3.4xlarge | ra3.16xlarge
    ///   - numberOfNodes: The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.  For information about determining how many nodes you need, go to  Working with Clusters in the Amazon Redshift Cluster Management Guide.  If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster. Default: 1  Constraints: Value must be at least 1 and no more than 100.
    ///   - port: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: 5439  Valid Values:    For clusters with ra3 nodes - Select a port within the ranges 5431-5455 or 8191-8215. (If you have an existing cluster  with ra3 nodes, it isn't required that you change the port to these ranges.)   For clusters with dc2 nodes - Select a port within the range 1150-65535.
    ///   - preferredMaintenanceWindow: The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi  Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window.
    ///   - publiclyAccessible: If true, the cluster can be accessed from a public network.  Default: false
    ///   - redshiftIdcApplicationArn: The Amazon resource name (ARN) of the Amazon Redshift IAM Identity Center application.
    ///   - snapshotScheduleIdentifier: A unique identifier for the snapshot schedule.
    ///   - tags: A list of tag instances.
    ///   - vpcSecurityGroupIds: A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. Default: The default VPC security group is associated with the cluster.
    ///   - logger: Logger use during operation
    @inlinable
    public func createCluster(
        additionalInfo: String? = nil,
        allowVersionUpgrade: Bool? = nil,
        aquaConfigurationStatus: AquaConfigurationStatus? = nil,
        automatedSnapshotRetentionPeriod: Int? = nil,
        availabilityZone: String? = nil,
        availabilityZoneRelocation: Bool? = nil,
        clusterIdentifier: String? = nil,
        clusterParameterGroupName: String? = nil,
        clusterSecurityGroups: [String]? = nil,
        clusterSubnetGroupName: String? = nil,
        clusterType: String? = nil,
        clusterVersion: String? = nil,
        dbName: String? = nil,
        defaultIamRoleArn: String? = nil,
        elasticIp: String? = nil,
        encrypted: Bool? = nil,
        enhancedVpcRouting: Bool? = nil,
        hsmClientCertificateIdentifier: String? = nil,
        hsmConfigurationIdentifier: String? = nil,
        iamRoles: [String]? = nil,
        ipAddressType: String? = nil,
        kmsKeyId: String? = nil,
        loadSampleData: String? = nil,
        maintenanceTrackName: String? = nil,
        manageMasterPassword: Bool? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        masterPasswordSecretKmsKeyId: String? = nil,
        masterUsername: String? = nil,
        masterUserPassword: String? = nil,
        multiAZ: Bool? = nil,
        nodeType: String? = nil,
        numberOfNodes: Int? = nil,
        port: Int? = nil,
        preferredMaintenanceWindow: String? = nil,
        publiclyAccessible: Bool? = nil,
        redshiftIdcApplicationArn: String? = nil,
        snapshotScheduleIdentifier: String? = nil,
        tags: [Tag]? = nil,
        vpcSecurityGroupIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateClusterResult {
        let input = CreateClusterMessage(
            additionalInfo: additionalInfo, 
            allowVersionUpgrade: allowVersionUpgrade, 
            aquaConfigurationStatus: aquaConfigurationStatus, 
            automatedSnapshotRetentionPeriod: automatedSnapshotRetentionPeriod, 
            availabilityZone: availabilityZone, 
            availabilityZoneRelocation: availabilityZoneRelocation, 
            clusterIdentifier: clusterIdentifier, 
            clusterParameterGroupName: clusterParameterGroupName, 
            clusterSecurityGroups: clusterSecurityGroups, 
            clusterSubnetGroupName: clusterSubnetGroupName, 
            clusterType: clusterType, 
            clusterVersion: clusterVersion, 
            dbName: dbName, 
            defaultIamRoleArn: defaultIamRoleArn, 
            elasticIp: elasticIp, 
            encrypted: encrypted, 
            enhancedVpcRouting: enhancedVpcRouting, 
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            iamRoles: iamRoles, 
            ipAddressType: ipAddressType, 
            kmsKeyId: kmsKeyId, 
            loadSampleData: loadSampleData, 
            maintenanceTrackName: maintenanceTrackName, 
            manageMasterPassword: manageMasterPassword, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            masterPasswordSecretKmsKeyId: masterPasswordSecretKmsKeyId, 
            masterUsername: masterUsername, 
            masterUserPassword: masterUserPassword, 
            multiAZ: multiAZ, 
            nodeType: nodeType, 
            numberOfNodes: numberOfNodes, 
            port: port, 
            preferredMaintenanceWindow: preferredMaintenanceWindow, 
            publiclyAccessible: publiclyAccessible, 
            redshiftIdcApplicationArn: redshiftIdcApplicationArn, 
            snapshotScheduleIdentifier: snapshotScheduleIdentifier, 
            tags: tags, 
            vpcSecurityGroupIds: vpcSecurityGroupIds
        )
        return try await self.createCluster(input, logger: logger)
    }

    /// Creates an Amazon Redshift parameter group. Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster.  Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createClusterParameterGroup(_ input: CreateClusterParameterGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateClusterParameterGroupResult {
        try await self.client.execute(
            operation: "CreateClusterParameterGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an Amazon Redshift parameter group. Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster.  Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - description: A description of the parameter group.
    ///   - parameterGroupFamily: The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters. To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
    ///   - parameterGroupName: The name of the cluster parameter group. Constraints:   Must be 1 to 255 alphanumeric characters or hyphens   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique withing your Amazon Web Services account.    This value is stored as a lower-case string.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createClusterParameterGroup(
        description: String? = nil,
        parameterGroupFamily: String? = nil,
        parameterGroupName: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateClusterParameterGroupResult {
        let input = CreateClusterParameterGroupMessage(
            description: description, 
            parameterGroupFamily: parameterGroupFamily, 
            parameterGroupName: parameterGroupName, 
            tags: tags
        )
        return try await self.createClusterParameterGroup(input, logger: logger)
    }

    /// Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createClusterSecurityGroup(_ input: CreateClusterSecurityGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateClusterSecurityGroupResult {
        try await self.client.execute(
            operation: "CreateClusterSecurityGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterSecurityGroupName: The name for the security group. Amazon Redshift stores the value as a lowercase string. Constraints:   Must contain no more than 255 alphanumeric characters or hyphens.   Must not be "Default".   Must be unique for all security groups that are created by your Amazon Web Services account.   Example: examplesecuritygroup
    ///   - description: A description for the security group.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createClusterSecurityGroup(
        clusterSecurityGroupName: String? = nil,
        description: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateClusterSecurityGroupResult {
        let input = CreateClusterSecurityGroupMessage(
            clusterSecurityGroupName: clusterSecurityGroupName, 
            description: description, 
            tags: tags
        )
        return try await self.createClusterSecurityGroup(input, logger: logger)
    }

    /// Creates a manual snapshot of the specified cluster. The cluster must be in the available state.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createClusterSnapshot(_ input: CreateClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateClusterSnapshotResult {
        try await self.client.execute(
            operation: "CreateClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a manual snapshot of the specified cluster. The cluster must be in the available state.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The cluster identifier for which you want a snapshot.
    ///   - manualSnapshotRetentionPeriod: The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.  The value must be either -1 or an integer between 1 and 3,653. The default value is -1.
    ///   - snapshotIdentifier: A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account. Constraints:   Cannot be null, empty, or blank   Must contain from 1 to 255 alphanumeric characters or hyphens   First character must be a letter   Cannot end with a hyphen or contain two consecutive hyphens   Example: my-snapshot-id
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createClusterSnapshot(
        clusterIdentifier: String? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        snapshotIdentifier: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateClusterSnapshotResult {
        let input = CreateClusterSnapshotMessage(
            clusterIdentifier: clusterIdentifier, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            snapshotIdentifier: snapshotIdentifier, 
            tags: tags
        )
        return try await self.createClusterSnapshot(input, logger: logger)
    }

    /// Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
    /// For information about subnet groups, go to
    /// Amazon Redshift Cluster Subnet Groups in the
    /// Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createClusterSubnetGroup(_ input: CreateClusterSubnetGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateClusterSubnetGroupResult {
        try await self.client.execute(
            operation: "CreateClusterSubnetGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
    /// For information about subnet groups, go to
    /// Amazon Redshift Cluster Subnet Groups in the
    /// Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterSubnetGroupName: The name for the subnet group. Amazon Redshift stores the value as a lowercase string. Constraints:   Must contain no more than 255 alphanumeric characters or hyphens.   Must not be "Default".   Must be unique for all subnet groups that are created by your Amazon Web Services account.   Example: examplesubnetgroup
    ///   - description: A description for the subnet group.
    ///   - subnetIds: An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createClusterSubnetGroup(
        clusterSubnetGroupName: String? = nil,
        description: String? = nil,
        subnetIds: [String]? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateClusterSubnetGroupResult {
        let input = CreateClusterSubnetGroupMessage(
            clusterSubnetGroupName: clusterSubnetGroupName, 
            description: description, 
            subnetIds: subnetIds, 
            tags: tags
        )
        return try await self.createClusterSubnetGroup(input, logger: logger)
    }

    /// Used to create a custom domain name for a cluster. Properties include the custom domain name, the  cluster the custom domain is associated with, and the certificate Amazon Resource Name (ARN).
    @Sendable
    @inlinable
    public func createCustomDomainAssociation(_ input: CreateCustomDomainAssociationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateCustomDomainAssociationResult {
        try await self.client.execute(
            operation: "CreateCustomDomainAssociation", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Used to create a custom domain name for a cluster. Properties include the custom domain name, the  cluster the custom domain is associated with, and the certificate Amazon Resource Name (ARN).
    ///
    /// Parameters:
    ///   - clusterIdentifier: The cluster identifier that the custom domain is associated with.
    ///   - customDomainCertificateArn: The certificate Amazon Resource Name (ARN) for the custom domain name association.
    ///   - customDomainName: The custom domain name for a custom domain association.
    ///   - logger: Logger use during operation
    @inlinable
    public func createCustomDomainAssociation(
        clusterIdentifier: String? = nil,
        customDomainCertificateArn: String? = nil,
        customDomainName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateCustomDomainAssociationResult {
        let input = CreateCustomDomainAssociationMessage(
            clusterIdentifier: clusterIdentifier, 
            customDomainCertificateArn: customDomainCertificateArn, 
            customDomainName: customDomainName
        )
        return try await self.createCustomDomainAssociation(input, logger: logger)
    }

    /// Creates a Redshift-managed VPC endpoint.
    @Sendable
    @inlinable
    public func createEndpointAccess(_ input: CreateEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAccess {
        try await self.client.execute(
            operation: "CreateEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a Redshift-managed VPC endpoint.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The cluster identifier of the cluster to access.
    ///   - endpointName: The Redshift-managed VPC endpoint name. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.
    ///   - resourceOwner: The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.
    ///   - subnetGroupName: The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
    ///   - vpcSecurityGroupIds: The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
    ///   - logger: Logger use during operation
    @inlinable
    public func createEndpointAccess(
        clusterIdentifier: String? = nil,
        endpointName: String? = nil,
        resourceOwner: String? = nil,
        subnetGroupName: String? = nil,
        vpcSecurityGroupIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAccess {
        let input = CreateEndpointAccessMessage(
            clusterIdentifier: clusterIdentifier, 
            endpointName: endpointName, 
            resourceOwner: resourceOwner, 
            subnetGroupName: subnetGroupName, 
            vpcSecurityGroupIds: vpcSecurityGroupIds
        )
        return try await self.createEndpointAccess(input, logger: logger)
    }

    /// Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters. If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your Amazon Web Services account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your Amazon Web Services account. You must specify a source type if you specify a source ID.
    @Sendable
    @inlinable
    public func createEventSubscription(_ input: CreateEventSubscriptionMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateEventSubscriptionResult {
        try await self.client.execute(
            operation: "CreateEventSubscription", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters. If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your Amazon Web Services account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your Amazon Web Services account. You must specify a source type if you specify a source ID.
    ///
    /// Parameters:
    ///   - enabled: A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it.
    ///   - eventCategories: Specifies the Amazon Redshift event categories to be published by the event notification subscription. Values: configuration, management, monitoring, security, pending
    ///   - severity: Specifies the Amazon Redshift event severity to be published by the event notification subscription. Values: ERROR, INFO
    ///   - snsTopicArn: The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
    ///   - sourceIds: A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified. Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010
    ///   - sourceType: The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.
    ///   - subscriptionName: The name of the event subscription to be created. Constraints:   Cannot be null, empty, or blank.   Must contain from 1 to 255 alphanumeric characters or hyphens.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createEventSubscription(
        enabled: Bool? = nil,
        eventCategories: [String]? = nil,
        severity: String? = nil,
        snsTopicArn: String? = nil,
        sourceIds: [String]? = nil,
        sourceType: String? = nil,
        subscriptionName: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateEventSubscriptionResult {
        let input = CreateEventSubscriptionMessage(
            enabled: enabled, 
            eventCategories: eventCategories, 
            severity: severity, 
            snsTopicArn: snsTopicArn, 
            sourceIds: sourceIds, 
            sourceType: sourceType, 
            subscriptionName: subscriptionName, 
            tags: tags
        )
        return try await self.createEventSubscription(input, logger: logger)
    }

    /// Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases. The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createHsmClientCertificate(_ input: CreateHsmClientCertificateMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateHsmClientCertificateResult {
        try await self.client.execute(
            operation: "CreateHsmClientCertificate", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases. The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - hsmClientCertificateIdentifier: The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createHsmClientCertificate(
        hsmClientCertificateIdentifier: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateHsmClientCertificateResult {
        let input = CreateHsmClientCertificateMessage(
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            tags: tags
        )
        return try await self.createHsmClientCertificate(input, logger: logger)
    }

    /// Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM. In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createHsmConfiguration(_ input: CreateHsmConfigurationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateHsmConfigurationResult {
        try await self.client.execute(
            operation: "CreateHsmConfiguration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM. In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - description: A text description of the HSM configuration to be created.
    ///   - hsmConfigurationIdentifier: The identifier to be assigned to the new Amazon Redshift HSM configuration.
    ///   - hsmIpAddress: The IP address that the Amazon Redshift cluster must use to access the HSM.
    ///   - hsmPartitionName: The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
    ///   - hsmPartitionPassword: The password required to access the HSM partition.
    ///   - hsmServerPublicCertificate: The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createHsmConfiguration(
        description: String? = nil,
        hsmConfigurationIdentifier: String? = nil,
        hsmIpAddress: String? = nil,
        hsmPartitionName: String? = nil,
        hsmPartitionPassword: String? = nil,
        hsmServerPublicCertificate: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateHsmConfigurationResult {
        let input = CreateHsmConfigurationMessage(
            description: description, 
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            hsmIpAddress: hsmIpAddress, 
            hsmPartitionName: hsmPartitionName, 
            hsmPartitionPassword: hsmPartitionPassword, 
            hsmServerPublicCertificate: hsmServerPublicCertificate, 
            tags: tags
        )
        return try await self.createHsmConfiguration(input, logger: logger)
    }

    /// Creates a zero-ETL integration or S3 event integration with Amazon Redshift.
    @Sendable
    @inlinable
    public func createIntegration(_ input: CreateIntegrationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> Integration {
        try await self.client.execute(
            operation: "CreateIntegration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a zero-ETL integration or S3 event integration with Amazon Redshift.
    ///
    /// Parameters:
    ///   - additionalEncryptionContext: An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide. You can only include this parameter if you specify the KMSKeyId parameter.
    ///   - description: A description of the integration.
    ///   - integrationName: The name of the integration.
    ///   - kmsKeyId: An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.
    ///   - sourceArn: The Amazon Resource Name (ARN) of the database to use as the source for replication.
    ///   - tagList: A list of tags.
    ///   - targetArn: The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
    ///   - logger: Logger use during operation
    @inlinable
    public func createIntegration(
        additionalEncryptionContext: [String: String]? = nil,
        description: String? = nil,
        integrationName: String? = nil,
        kmsKeyId: String? = nil,
        sourceArn: String? = nil,
        tagList: [Tag]? = nil,
        targetArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> Integration {
        let input = CreateIntegrationMessage(
            additionalEncryptionContext: additionalEncryptionContext, 
            description: description, 
            integrationName: integrationName, 
            kmsKeyId: kmsKeyId, 
            sourceArn: sourceArn, 
            tagList: tagList, 
            targetArn: targetArn
        )
        return try await self.createIntegration(input, logger: logger)
    }

    /// Creates an Amazon Redshift application for use with IAM Identity Center.
    @Sendable
    @inlinable
    public func createRedshiftIdcApplication(_ input: CreateRedshiftIdcApplicationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateRedshiftIdcApplicationResult {
        try await self.client.execute(
            operation: "CreateRedshiftIdcApplication", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates an Amazon Redshift application for use with IAM Identity Center.
    ///
    /// Parameters:
    ///   - authorizedTokenIssuerList: The token issuer list for the Amazon Redshift IAM Identity Center application instance.
    ///   - iamRoleArn: The IAM role ARN for the Amazon Redshift IAM Identity Center application instance. It has the required permissions  to be assumed and invoke the IDC Identity Center API.
    ///   - idcDisplayName: The display name for the Amazon Redshift IAM Identity Center application instance. It appears in the console.
    ///   - idcInstanceArn: The Amazon resource name (ARN) of the IAM Identity Center instance where Amazon Redshift creates a new managed application.
    ///   - identityNamespace: The namespace for the Amazon Redshift IAM Identity Center application instance. It determines which managed application  verifies the connection token.
    ///   - redshiftIdcApplicationName: The name of the Redshift application in IAM Identity Center.
    ///   - serviceIntegrations: A collection of service integrations for the Redshift IAM Identity Center application.
    ///   - ssoTagKeys: A list of tags keys that Redshift Identity Center applications copy to IAM Identity Center. For each input key, the tag corresponding to the key-value pair is propagated.
    ///   - tags: A list of tags.
    ///   - logger: Logger use during operation
    @inlinable
    public func createRedshiftIdcApplication(
        authorizedTokenIssuerList: [AuthorizedTokenIssuer]? = nil,
        iamRoleArn: String? = nil,
        idcDisplayName: String? = nil,
        idcInstanceArn: String? = nil,
        identityNamespace: String? = nil,
        redshiftIdcApplicationName: String? = nil,
        serviceIntegrations: [ServiceIntegrationsUnion]? = nil,
        ssoTagKeys: [String]? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateRedshiftIdcApplicationResult {
        let input = CreateRedshiftIdcApplicationMessage(
            authorizedTokenIssuerList: authorizedTokenIssuerList, 
            iamRoleArn: iamRoleArn, 
            idcDisplayName: idcDisplayName, 
            idcInstanceArn: idcInstanceArn, 
            identityNamespace: identityNamespace, 
            redshiftIdcApplicationName: redshiftIdcApplicationName, 
            serviceIntegrations: serviceIntegrations, 
            ssoTagKeys: ssoTagKeys, 
            tags: tags
        )
        return try await self.createRedshiftIdcApplication(input, logger: logger)
    }

    /// Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the ResizeCluster API operation.
    @Sendable
    @inlinable
    public func createScheduledAction(_ input: CreateScheduledActionMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ScheduledAction {
        try await self.client.execute(
            operation: "CreateScheduledAction", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the ResizeCluster API operation.
    ///
    /// Parameters:
    ///   - enable: If true, the schedule is enabled. If false, the scheduled action does not trigger.  For more information about state of the scheduled action, see ScheduledAction.
    ///   - endTime: The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger.  For more information about this parameter, see ScheduledAction.
    ///   - iamRole: The IAM role to assume to run the target action.  For more information about this parameter, see ScheduledAction.
    ///   - schedule: The schedule in at( ) or cron( ) format.  For more information about this parameter, see ScheduledAction.
    ///   - scheduledActionDescription: The description of the scheduled action.
    ///   - scheduledActionName: The name of the scheduled action. The name must be unique within an account.  For more information about this parameter, see ScheduledAction.
    ///   - startTime: The start time in UTC of the scheduled action.  Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
    ///   - targetAction: A JSON format string of the Amazon Redshift API operation with input parameters.  For more information about this parameter, see ScheduledAction.
    ///   - logger: Logger use during operation
    @inlinable
    public func createScheduledAction(
        enable: Bool? = nil,
        endTime: Date? = nil,
        iamRole: String? = nil,
        schedule: String? = nil,
        scheduledActionDescription: String? = nil,
        scheduledActionName: String? = nil,
        startTime: Date? = nil,
        targetAction: ScheduledActionType? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ScheduledAction {
        let input = CreateScheduledActionMessage(
            enable: enable, 
            endTime: endTime, 
            iamRole: iamRole, 
            schedule: schedule, 
            scheduledActionDescription: scheduledActionDescription, 
            scheduledActionName: scheduledActionName, 
            startTime: startTime, 
            targetAction: targetAction
        )
        return try await self.createScheduledAction(input, logger: logger)
    }

    /// Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region.
    /// For more information about managing snapshot copy grants, go to
    /// Amazon Redshift Database Encryption
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func createSnapshotCopyGrant(_ input: CreateSnapshotCopyGrantMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CreateSnapshotCopyGrantResult {
        try await self.client.execute(
            operation: "CreateSnapshotCopyGrant", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region.
    /// For more information about managing snapshot copy grants, go to
    /// Amazon Redshift Database Encryption
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - kmsKeyId: The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
    ///   - snapshotCopyGrantName: The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account. Constraints:   Must contain from 1 to 63 alphanumeric characters or hyphens.   Alphabetic characters must be lowercase.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique for all clusters within an Amazon Web Services account.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createSnapshotCopyGrant(
        kmsKeyId: String? = nil,
        snapshotCopyGrantName: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CreateSnapshotCopyGrantResult {
        let input = CreateSnapshotCopyGrantMessage(
            kmsKeyId: kmsKeyId, 
            snapshotCopyGrantName: snapshotCopyGrantName, 
            tags: tags
        )
        return try await self.createSnapshotCopyGrant(input, logger: logger)
    }

    /// Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
    @Sendable
    @inlinable
    public func createSnapshotSchedule(_ input: CreateSnapshotScheduleMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> SnapshotSchedule {
        try await self.client.execute(
            operation: "CreateSnapshotSchedule", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Create a snapshot schedule that can be associated to a cluster and which overrides the default system backup schedule.
    ///
    /// Parameters:
    ///   - dryRun: 
    ///   - nextInvocations: 
    ///   - scheduleDefinitions: The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
    ///   - scheduleDescription: The description of the snapshot schedule.
    ///   - scheduleIdentifier: A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
    ///   - tags: An optional set of tags you can use to search for the schedule.
    ///   - logger: Logger use during operation
    @inlinable
    public func createSnapshotSchedule(
        dryRun: Bool? = nil,
        nextInvocations: Int? = nil,
        scheduleDefinitions: [String]? = nil,
        scheduleDescription: String? = nil,
        scheduleIdentifier: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> SnapshotSchedule {
        let input = CreateSnapshotScheduleMessage(
            dryRun: dryRun, 
            nextInvocations: nextInvocations, 
            scheduleDefinitions: scheduleDefinitions, 
            scheduleDescription: scheduleDescription, 
            scheduleIdentifier: scheduleIdentifier, 
            tags: tags
        )
        return try await self.createSnapshotSchedule(input, logger: logger)
    }

    /// Adds tags to a cluster. A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, you will receive an error and the attempt will fail. If you specify a key that already exists for the resource, the value for that key will be updated with the new value.
    @Sendable
    @inlinable
    public func createTags(_ input: CreateTagsMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "CreateTags", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Adds tags to a cluster. A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, you will receive an error and the attempt will fail. If you specify a key that already exists for the resource, the value for that key will be updated with the new value.
    ///
    /// Parameters:
    ///   - resourceName: The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
    ///   - tags: One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the parameter Key and the corresponding value is passed in with the parameter Value. The Key and Value parameters are separated by a comma (,). Separate multiple tags with a space. For example, --tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0".
    ///   - logger: Logger use during operation
    @inlinable
    public func createTags(
        resourceName: String? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = CreateTagsMessage(
            resourceName: resourceName, 
            tags: tags
        )
        return try await self.createTags(input, logger: logger)
    }

    /// Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
    @Sendable
    @inlinable
    public func createUsageLimit(_ input: CreateUsageLimitMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> UsageLimit {
        try await self.client.execute(
            operation: "CreateUsageLimit", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
    ///
    /// Parameters:
    ///   - amount: The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    ///   - breachAction: The action that Amazon Redshift takes when the limit is reached. The default is log.  For more information about this parameter, see UsageLimit.
    ///   - clusterIdentifier: The identifier of the cluster that you want to limit usage.
    ///   - featureType: The Amazon Redshift feature that you want to limit.
    ///   - limitType: The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned.
    ///   - period: The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
    ///   - tags: A list of tag instances.
    ///   - logger: Logger use during operation
    @inlinable
    public func createUsageLimit(
        amount: Int64? = nil,
        breachAction: UsageLimitBreachAction? = nil,
        clusterIdentifier: String? = nil,
        featureType: UsageLimitFeatureType? = nil,
        limitType: UsageLimitLimitType? = nil,
        period: UsageLimitPeriod? = nil,
        tags: [Tag]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> UsageLimit {
        let input = CreateUsageLimitMessage(
            amount: amount, 
            breachAction: breachAction, 
            clusterIdentifier: clusterIdentifier, 
            featureType: featureType, 
            limitType: limitType, 
            period: period, 
            tags: tags
        )
        return try await self.createUsageLimit(input, logger: logger)
    }

    /// From a datashare producer account, removes authorization from the specified datashare.
    @Sendable
    @inlinable
    public func deauthorizeDataShare(_ input: DeauthorizeDataShareMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DataShare {
        try await self.client.execute(
            operation: "DeauthorizeDataShare", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// From a datashare producer account, removes authorization from the specified datashare.
    ///
    /// Parameters:
    ///   - consumerIdentifier: The identifier of the data consumer that is to have authorization removed from the datashare.  This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
    ///   - dataShareArn: The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.
    ///   - logger: Logger use during operation
    @inlinable
    public func deauthorizeDataShare(
        consumerIdentifier: String? = nil,
        dataShareArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DataShare {
        let input = DeauthorizeDataShareMessage(
            consumerIdentifier: consumerIdentifier, 
            dataShareArn: dataShareArn
        )
        return try await self.deauthorizeDataShare(input, logger: logger)
    }

    /// Deletes an authentication profile.
    @Sendable
    @inlinable
    public func deleteAuthenticationProfile(_ input: DeleteAuthenticationProfileMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DeleteAuthenticationProfileResult {
        try await self.client.execute(
            operation: "DeleteAuthenticationProfile", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes an authentication profile.
    ///
    /// Parameters:
    ///   - authenticationProfileName: The name of the authentication profile to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteAuthenticationProfile(
        authenticationProfileName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DeleteAuthenticationProfileResult {
        let input = DeleteAuthenticationProfileMessage(
            authenticationProfileName: authenticationProfileName
        )
        return try await self.deleteAuthenticationProfile(input, logger: logger)
    }

    /// Deletes a previously provisioned cluster without its final snapshot being created. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func deleteCluster(_ input: DeleteClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DeleteClusterResult {
        try await self.client.execute(
            operation: "DeleteCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a previously provisioned cluster without its final snapshot being created. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster to be deleted. Constraints:   Must contain lowercase characters.   Must contain from 1 to 63 alphanumeric characters or hyphens.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.
    ///   - finalClusterSnapshotIdentifier: The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, SkipFinalClusterSnapshot must be false.  Constraints:   Must be 1 to 255 alphanumeric characters.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.
    ///   - finalClusterSnapshotRetentionPeriod: The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3,653. The default value is -1.
    ///   - skipFinalClusterSnapshot: Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true, a final cluster snapshot is not created. If false, a final cluster snapshot is created before the cluster is deleted.   The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is false.  Default: false
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteCluster(
        clusterIdentifier: String? = nil,
        finalClusterSnapshotIdentifier: String? = nil,
        finalClusterSnapshotRetentionPeriod: Int? = nil,
        skipFinalClusterSnapshot: Bool? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DeleteClusterResult {
        let input = DeleteClusterMessage(
            clusterIdentifier: clusterIdentifier, 
            finalClusterSnapshotIdentifier: finalClusterSnapshotIdentifier, 
            finalClusterSnapshotRetentionPeriod: finalClusterSnapshotRetentionPeriod, 
            skipFinalClusterSnapshot: skipFinalClusterSnapshot
        )
        return try await self.deleteCluster(input, logger: logger)
    }

    /// Deletes a specified Amazon Redshift parameter group.  You cannot delete a parameter group if it is associated with a cluster.
    @Sendable
    @inlinable
    public func deleteClusterParameterGroup(_ input: DeleteClusterParameterGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteClusterParameterGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a specified Amazon Redshift parameter group.  You cannot delete a parameter group if it is associated with a cluster.
    ///
    /// Parameters:
    ///   - parameterGroupName: The name of the parameter group to be deleted. Constraints:   Must be the name of an existing cluster parameter group.   Cannot delete a default cluster parameter group.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteClusterParameterGroup(
        parameterGroupName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteClusterParameterGroupMessage(
            parameterGroupName: parameterGroupName
        )
        return try await self.deleteClusterParameterGroup(input, logger: logger)
    }

    /// Deletes an Amazon Redshift security group.  You cannot delete a security group that is associated with any clusters. You cannot delete the default security group.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func deleteClusterSecurityGroup(_ input: DeleteClusterSecurityGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteClusterSecurityGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes an Amazon Redshift security group.  You cannot delete a security group that is associated with any clusters. You cannot delete the default security group.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterSecurityGroupName: The name of the cluster security group to be deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteClusterSecurityGroup(
        clusterSecurityGroupName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteClusterSecurityGroupMessage(
            clusterSecurityGroupName: clusterSecurityGroupName
        )
        return try await self.deleteClusterSecurityGroup(input, logger: logger)
    }

    /// Deletes the specified manual snapshot. The snapshot must be in the available state, with no other users authorized to access the snapshot.  Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
    @Sendable
    @inlinable
    public func deleteClusterSnapshot(_ input: DeleteClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DeleteClusterSnapshotResult {
        try await self.client.execute(
            operation: "DeleteClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the specified manual snapshot. The snapshot must be in the available state, with no other users authorized to access the snapshot.  Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
    ///
    /// Parameters:
    ///   - snapshotClusterIdentifier: The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. Constraints: Must be the name of valid cluster.
    ///   - snapshotIdentifier: The unique identifier of the manual snapshot to be deleted. Constraints: Must be the name of an existing snapshot that is in the available, failed, or cancelled state.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteClusterSnapshot(
        snapshotClusterIdentifier: String? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DeleteClusterSnapshotResult {
        let input = DeleteClusterSnapshotMessage(
            snapshotClusterIdentifier: snapshotClusterIdentifier, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.deleteClusterSnapshot(input, logger: logger)
    }

    /// Deletes the specified cluster subnet group.
    @Sendable
    @inlinable
    public func deleteClusterSubnetGroup(_ input: DeleteClusterSubnetGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteClusterSubnetGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the specified cluster subnet group.
    ///
    /// Parameters:
    ///   - clusterSubnetGroupName: The name of the cluster subnet group name to be deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteClusterSubnetGroup(
        clusterSubnetGroupName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteClusterSubnetGroupMessage(
            clusterSubnetGroupName: clusterSubnetGroupName
        )
        return try await self.deleteClusterSubnetGroup(input, logger: logger)
    }

    /// Contains information about deleting a custom domain association for a cluster.
    @Sendable
    @inlinable
    public func deleteCustomDomainAssociation(_ input: DeleteCustomDomainAssociationMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteCustomDomainAssociation", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Contains information about deleting a custom domain association for a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster to delete a custom domain association for.
    ///   - customDomainName: The custom domain name for the custom domain association.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteCustomDomainAssociation(
        clusterIdentifier: String? = nil,
        customDomainName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteCustomDomainAssociationMessage(
            clusterIdentifier: clusterIdentifier, 
            customDomainName: customDomainName
        )
        return try await self.deleteCustomDomainAssociation(input, logger: logger)
    }

    /// Deletes a Redshift-managed VPC endpoint.
    @Sendable
    @inlinable
    public func deleteEndpointAccess(_ input: DeleteEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAccess {
        try await self.client.execute(
            operation: "DeleteEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a Redshift-managed VPC endpoint.
    ///
    /// Parameters:
    ///   - endpointName: The Redshift-managed VPC endpoint to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteEndpointAccess(
        endpointName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAccess {
        let input = DeleteEndpointAccessMessage(
            endpointName: endpointName
        )
        return try await self.deleteEndpointAccess(input, logger: logger)
    }

    /// Deletes an Amazon Redshift event notification subscription.
    @Sendable
    @inlinable
    public func deleteEventSubscription(_ input: DeleteEventSubscriptionMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteEventSubscription", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes an Amazon Redshift event notification subscription.
    ///
    /// Parameters:
    ///   - subscriptionName: The name of the Amazon Redshift event notification subscription to be deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteEventSubscription(
        subscriptionName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteEventSubscriptionMessage(
            subscriptionName: subscriptionName
        )
        return try await self.deleteEventSubscription(input, logger: logger)
    }

    /// Deletes the specified HSM client certificate.
    @Sendable
    @inlinable
    public func deleteHsmClientCertificate(_ input: DeleteHsmClientCertificateMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteHsmClientCertificate", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the specified HSM client certificate.
    ///
    /// Parameters:
    ///   - hsmClientCertificateIdentifier: The identifier of the HSM client certificate to be deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteHsmClientCertificate(
        hsmClientCertificateIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteHsmClientCertificateMessage(
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier
        )
        return try await self.deleteHsmClientCertificate(input, logger: logger)
    }

    /// Deletes the specified Amazon Redshift HSM configuration.
    @Sendable
    @inlinable
    public func deleteHsmConfiguration(_ input: DeleteHsmConfigurationMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteHsmConfiguration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the specified Amazon Redshift HSM configuration.
    ///
    /// Parameters:
    ///   - hsmConfigurationIdentifier: The identifier of the Amazon Redshift HSM configuration to be deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteHsmConfiguration(
        hsmConfigurationIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteHsmConfigurationMessage(
            hsmConfigurationIdentifier: hsmConfigurationIdentifier
        )
        return try await self.deleteHsmConfiguration(input, logger: logger)
    }

    /// Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.
    @Sendable
    @inlinable
    public func deleteIntegration(_ input: DeleteIntegrationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> Integration {
        try await self.client.execute(
            operation: "DeleteIntegration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a zero-ETL integration or S3 event integration with Amazon Redshift.
    ///
    /// Parameters:
    ///   - integrationArn: The unique identifier of the integration to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteIntegration(
        integrationArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> Integration {
        let input = DeleteIntegrationMessage(
            integrationArn: integrationArn
        )
        return try await self.deleteIntegration(input, logger: logger)
    }

    /// Deletes a partner integration from a cluster. Data can still flow to the cluster until the integration is deleted at the partner's website.
    @Sendable
    @inlinable
    public func deletePartner(_ input: PartnerIntegrationInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PartnerIntegrationOutputMessage {
        try await self.client.execute(
            operation: "DeletePartner", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a partner integration from a cluster. Data can still flow to the cluster until the integration is deleted at the partner's website.
    ///
    /// Parameters:
    ///   - accountId: The Amazon Web Services account ID that owns the cluster.
    ///   - clusterIdentifier: The cluster identifier of the cluster that receives data from the partner.
    ///   - databaseName: The name of the database that receives data from the partner.
    ///   - partnerName: The name of the partner that is authorized to send data.
    ///   - logger: Logger use during operation
    @inlinable
    public func deletePartner(
        accountId: String? = nil,
        clusterIdentifier: String? = nil,
        databaseName: String? = nil,
        partnerName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PartnerIntegrationOutputMessage {
        let input = PartnerIntegrationInputMessage(
            accountId: accountId, 
            clusterIdentifier: clusterIdentifier, 
            databaseName: databaseName, 
            partnerName: partnerName
        )
        return try await self.deletePartner(input, logger: logger)
    }

    /// Deletes an Amazon Redshift IAM Identity Center application.
    @Sendable
    @inlinable
    public func deleteRedshiftIdcApplication(_ input: DeleteRedshiftIdcApplicationMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteRedshiftIdcApplication", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes an Amazon Redshift IAM Identity Center application.
    ///
    /// Parameters:
    ///   - redshiftIdcApplicationArn: The ARN for a deleted Amazon Redshift IAM Identity Center application.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteRedshiftIdcApplication(
        redshiftIdcApplicationArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteRedshiftIdcApplicationMessage(
            redshiftIdcApplicationArn: redshiftIdcApplicationArn
        )
        return try await self.deleteRedshiftIdcApplication(input, logger: logger)
    }

    /// Deletes the resource policy for a specified resource.
    @Sendable
    @inlinable
    public func deleteResourcePolicy(_ input: DeleteResourcePolicyMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteResourcePolicy", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the resource policy for a specified resource.
    ///
    /// Parameters:
    ///   - resourceArn: The Amazon Resource Name (ARN) of the resource of which its resource policy is deleted.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteResourcePolicy(
        resourceArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteResourcePolicyMessage(
            resourceArn: resourceArn
        )
        return try await self.deleteResourcePolicy(input, logger: logger)
    }

    /// Deletes a scheduled action.
    @Sendable
    @inlinable
    public func deleteScheduledAction(_ input: DeleteScheduledActionMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteScheduledAction", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a scheduled action.
    ///
    /// Parameters:
    ///   - scheduledActionName: The name of the scheduled action to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteScheduledAction(
        scheduledActionName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteScheduledActionMessage(
            scheduledActionName: scheduledActionName
        )
        return try await self.deleteScheduledAction(input, logger: logger)
    }

    /// Deletes the specified snapshot copy grant.
    @Sendable
    @inlinable
    public func deleteSnapshotCopyGrant(_ input: DeleteSnapshotCopyGrantMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteSnapshotCopyGrant", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes the specified snapshot copy grant.
    ///
    /// Parameters:
    ///   - snapshotCopyGrantName: The name of the snapshot copy grant to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteSnapshotCopyGrant(
        snapshotCopyGrantName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteSnapshotCopyGrantMessage(
            snapshotCopyGrantName: snapshotCopyGrantName
        )
        return try await self.deleteSnapshotCopyGrant(input, logger: logger)
    }

    /// Deletes a snapshot schedule.
    @Sendable
    @inlinable
    public func deleteSnapshotSchedule(_ input: DeleteSnapshotScheduleMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteSnapshotSchedule", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a snapshot schedule.
    ///
    /// Parameters:
    ///   - scheduleIdentifier: A unique identifier of the snapshot schedule to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteSnapshotSchedule(
        scheduleIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteSnapshotScheduleMessage(
            scheduleIdentifier: scheduleIdentifier
        )
        return try await self.deleteSnapshotSchedule(input, logger: logger)
    }

    /// Deletes tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
    @Sendable
    @inlinable
    public func deleteTags(_ input: DeleteTagsMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteTags", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
    ///
    /// Parameters:
    ///   - resourceName: The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
    ///   - tagKeys: The tag key that you want to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteTags(
        resourceName: String? = nil,
        tagKeys: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteTagsMessage(
            resourceName: resourceName, 
            tagKeys: tagKeys
        )
        return try await self.deleteTags(input, logger: logger)
    }

    /// Deletes a usage limit from a cluster.
    @Sendable
    @inlinable
    public func deleteUsageLimit(_ input: DeleteUsageLimitMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "DeleteUsageLimit", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deletes a usage limit from a cluster.
    ///
    /// Parameters:
    ///   - usageLimitId: The identifier of the usage limit to delete.
    ///   - logger: Logger use during operation
    @inlinable
    public func deleteUsageLimit(
        usageLimitId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DeleteUsageLimitMessage(
            usageLimitId: usageLimitId
        )
        return try await self.deleteUsageLimit(input, logger: logger)
    }

    /// Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog.
    @Sendable
    @inlinable
    public func deregisterNamespace(_ input: DeregisterNamespaceInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DeregisterNamespaceOutputMessage {
        try await self.client.execute(
            operation: "DeregisterNamespace", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog.
    ///
    /// Parameters:
    ///   - consumerIdentifiers: An array containing the ID of the consumer account  that you want to deregister the cluster or serverless namespace from.
    ///   - namespaceIdentifier: The unique identifier of the cluster or  serverless namespace that you want to deregister.
    ///   - logger: Logger use during operation
    @inlinable
    public func deregisterNamespace(
        consumerIdentifiers: [String]? = nil,
        namespaceIdentifier: NamespaceIdentifierUnion? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DeregisterNamespaceOutputMessage {
        let input = DeregisterNamespaceInputMessage(
            consumerIdentifiers: consumerIdentifiers, 
            namespaceIdentifier: namespaceIdentifier
        )
        return try await self.deregisterNamespace(input, logger: logger)
    }

    /// Returns a list of attributes attached to an account
    @Sendable
    @inlinable
    public func describeAccountAttributes(_ input: DescribeAccountAttributesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> AccountAttributeList {
        try await self.client.execute(
            operation: "DescribeAccountAttributes", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of attributes attached to an account
    ///
    /// Parameters:
    ///   - attributeNames: A list of attribute names.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeAccountAttributes(
        attributeNames: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> AccountAttributeList {
        let input = DescribeAccountAttributesMessage(
            attributeNames: attributeNames
        )
        return try await self.describeAccountAttributes(input, logger: logger)
    }

    /// Describes an authentication profile.
    @Sendable
    @inlinable
    public func describeAuthenticationProfiles(_ input: DescribeAuthenticationProfilesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeAuthenticationProfilesResult {
        try await self.client.execute(
            operation: "DescribeAuthenticationProfiles", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes an authentication profile.
    ///
    /// Parameters:
    ///   - authenticationProfileName: The name of the authentication profile to describe. If not specified then all authentication profiles owned by the account are listed.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeAuthenticationProfiles(
        authenticationProfileName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeAuthenticationProfilesResult {
        let input = DescribeAuthenticationProfilesMessage(
            authenticationProfileName: authenticationProfileName
        )
        return try await self.describeAuthenticationProfiles(input, logger: logger)
    }

    /// Returns an array of ClusterDbRevision objects.
    @Sendable
    @inlinable
    public func describeClusterDbRevisions(_ input: DescribeClusterDbRevisionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterDbRevisionsMessage {
        try await self.client.execute(
            operation: "DescribeClusterDbRevisions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns an array of ClusterDbRevision objects.
    ///
    /// Parameters:
    ///   - clusterIdentifier: A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.
    ///   - marker: An optional parameter that specifies the starting point for returning a set of response records. When the results of a DescribeClusterDbRevisions request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.  Constraints: You can specify either the ClusterIdentifier parameter, or the marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.  Default: 100 Constraints: minimum 20, maximum 100.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterDbRevisions(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterDbRevisionsMessage {
        let input = DescribeClusterDbRevisionsMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeClusterDbRevisions(input, logger: logger)
    }

    /// Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all parameter groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeClusterParameterGroups(_ input: DescribeClusterParameterGroupsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterParameterGroupsMessage {
        try await self.client.execute(
            operation: "DescribeClusterParameterGroups", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all parameter groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameterGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupName: The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterParameterGroups(
        marker: String? = nil,
        maxRecords: Int? = nil,
        parameterGroupName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterParameterGroupsMessage {
        let input = DescribeClusterParameterGroupsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            parameterGroupName: parameterGroupName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeClusterParameterGroups(input, logger: logger)
    }

    /// Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on. You can specify source filter to retrieve parameters of only specific type. For example, to retrieve parameters that were modified by a user action such as from ModifyClusterParameterGroup, you can specify source equal to user.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeClusterParameters(_ input: DescribeClusterParametersMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterParameterGroupDetails {
        try await self.client.execute(
            operation: "DescribeClusterParameters", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a detailed list of parameters contained within the specified Amazon Redshift parameter group. For each parameter the response includes information such as parameter name, description, data type, value, whether the parameter value is modifiable, and so on. You can specify source filter to retrieve parameters of only specific type. For example, to retrieve parameters that were modified by a user action such as from ModifyClusterParameterGroup, you can specify source equal to user.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupName: The name of a cluster parameter group for which to return details.
    ///   - source: The parameter types to return. Specify user to show parameters that are different form the default. Similarly, specify engine-default to show parameters that are the same as the default parameter group.  Default: All parameter types returned. Valid Values: user | engine-default
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterParameters(
        marker: String? = nil,
        maxRecords: Int? = nil,
        parameterGroupName: String? = nil,
        source: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterParameterGroupDetails {
        let input = DescribeClusterParametersMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            parameterGroupName: parameterGroupName, 
            source: source
        )
        return try await self.describeClusterParameters(input, logger: logger)
    }

    /// Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all security groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeClusterSecurityGroups(_ input: DescribeClusterSecurityGroupsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterSecurityGroupMessage {
        try await self.client.execute(
            operation: "DescribeClusterSecurityGroups", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all security groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - clusterSecurityGroupName: The name of a cluster security group for which you are requesting details. You must specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.  Example: securitygroup1
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You must specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster security groups that are associated with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster security groups that are associated with the specified tag value or values. For example, suppose that you have security groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterSecurityGroups(
        clusterSecurityGroupName: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterSecurityGroupMessage {
        let input = DescribeClusterSecurityGroupsMessage(
            clusterSecurityGroupName: clusterSecurityGroupName, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeClusterSecurityGroups(input, logger: logger)
    }

    /// Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by your Amazon Web Services account. No information is returned for snapshots owned by inactive Amazon Web Services accounts. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all snapshots that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all snapshots that have any combination of those values are returned. Only snapshots that you own are returned in the response; shared snapshots are not returned with the tag key and tag value request parameters. If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeClusterSnapshots(_ input: DescribeClusterSnapshotsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> SnapshotMessage {
        try await self.client.execute(
            operation: "DescribeClusterSnapshots", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by your Amazon Web Services account. No information is returned for snapshots owned by inactive Amazon Web Services accounts. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all snapshots that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all snapshots that have any combination of those values are returned. Only snapshots that you own are returned in the response; shared snapshots are not returned with the tag key and tag value request parameters. If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - clusterExists: A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:    If ClusterExists is set to true, ClusterIdentifier is required.   If ClusterExists is set to false and ClusterIdentifier isn't specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned.    If ClusterExists is set to false and ClusterIdentifier is specified for a deleted cluster, snapshots associated with that cluster are returned.   If ClusterExists is set to false and ClusterIdentifier is specified for an existing cluster, no snapshots are returned.
    ///   - clusterIdentifier: The identifier of the cluster which generated the requested snapshots.
    ///   - endTime: A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSnapshots request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your Amazon Web Services account, or do not specify the parameter.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.
    ///   - snapshotIdentifier: The snapshot identifier of the snapshot about which to return information.
    ///   - snapshotType: The type of snapshots for which you are requesting information. By default, snapshots of all types are returned. Valid Values: automated | manual
    ///   - sortingEntities: 
    ///   - startTime: A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterSnapshots(
        clusterExists: Bool? = nil,
        clusterIdentifier: String? = nil,
        endTime: Date? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        ownerAccount: String? = nil,
        snapshotArn: String? = nil,
        snapshotIdentifier: String? = nil,
        snapshotType: String? = nil,
        sortingEntities: [SnapshotSortingEntity]? = nil,
        startTime: Date? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> SnapshotMessage {
        let input = DescribeClusterSnapshotsMessage(
            clusterExists: clusterExists, 
            clusterIdentifier: clusterIdentifier, 
            endTime: endTime, 
            marker: marker, 
            maxRecords: maxRecords, 
            ownerAccount: ownerAccount, 
            snapshotArn: snapshotArn, 
            snapshotIdentifier: snapshotIdentifier, 
            snapshotType: snapshotType, 
            sortingEntities: sortingEntities, 
            startTime: startTime, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeClusterSnapshots(input, logger: logger)
    }

    /// Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subnet groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeClusterSubnetGroups(_ input: DescribeClusterSubnetGroupsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterSubnetGroupMessage {
        try await self.client.execute(
            operation: "DescribeClusterSubnetGroups", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns one or more cluster subnet group objects, which contain metadata about your cluster subnet groups. By default, this operation returns information about all cluster subnet groups that are defined in your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all subnet groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subnet groups that have any combination of those values are returned. If both tag keys and values are omitted from the request, subnet groups are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - clusterSubnetGroupName: The name of the cluster subnet group for which information is requested.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSubnetGroups request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterSubnetGroups(
        clusterSubnetGroupName: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterSubnetGroupMessage {
        let input = DescribeClusterSubnetGroupsMessage(
            clusterSubnetGroupName: clusterSubnetGroupName, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeClusterSubnetGroups(input, logger: logger)
    }

    /// Returns a list of all the available maintenance tracks.
    @Sendable
    @inlinable
    public func describeClusterTracks(_ input: DescribeClusterTracksMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> TrackListMessage {
        try await self.client.execute(
            operation: "DescribeClusterTracks", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of all the available maintenance tracks.
    ///
    /// Parameters:
    ///   - maintenanceTrackName: The name of the maintenance track.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterTracks request exceed the value specified in MaxRecords, Amazon Redshift returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: An integer value for the maximum number of maintenance tracks to return.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterTracks(
        maintenanceTrackName: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> TrackListMessage {
        let input = DescribeClusterTracksMessage(
            maintenanceTrackName: maintenanceTrackName, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeClusterTracks(input, logger: logger)
    }

    /// Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeClusterVersions(_ input: DescribeClusterVersionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterVersionsMessage {
        try await self.client.execute(
            operation: "DescribeClusterVersions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterParameterGroupFamily: The name of a specific cluster parameter group family to return details for. Constraints:   Must be 1 to 255 alphanumeric characters   First character must be a letter   Cannot end with a hyphen or contain two consecutive hyphens
    ///   - clusterVersion: The specific cluster version to return. Example: 1.0
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterVersions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusterVersions(
        clusterParameterGroupFamily: String? = nil,
        clusterVersion: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterVersionsMessage {
        let input = DescribeClusterVersionsMessage(
            clusterParameterGroupFamily: clusterParameterGroupFamily, 
            clusterVersion: clusterVersion, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeClusterVersions(input, logger: logger)
    }

    /// Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned. If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeClusters(_ input: DescribeClustersMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClustersMessage {
        try await self.client.execute(
            operation: "DescribeClusters", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned. If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeClusters(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClustersMessage {
        let input = DescribeClustersMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeClusters(input, logger: logger)
    }

    /// Contains information about custom domain associations for a cluster.
    @Sendable
    @inlinable
    public func describeCustomDomainAssociations(_ input: DescribeCustomDomainAssociationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> CustomDomainAssociationsMessage {
        try await self.client.execute(
            operation: "DescribeCustomDomainAssociations", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Contains information about custom domain associations for a cluster.
    ///
    /// Parameters:
    ///   - customDomainCertificateArn: The certificate Amazon Resource Name (ARN) for the custom domain association.
    ///   - customDomainName: The custom domain name for the custom domain association.
    ///   - marker: The marker for the custom domain association.
    ///   - maxRecords: The maximum records setting for the associated custom domain.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeCustomDomainAssociations(
        customDomainCertificateArn: String? = nil,
        customDomainName: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> CustomDomainAssociationsMessage {
        let input = DescribeCustomDomainAssociationsMessage(
            customDomainCertificateArn: customDomainCertificateArn, 
            customDomainName: customDomainName, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeCustomDomainAssociations(input, logger: logger)
    }

    /// Shows the status of any inbound or outbound datashares available in the specified account.
    @Sendable
    @inlinable
    public func describeDataShares(_ input: DescribeDataSharesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeDataSharesResult {
        try await self.client.execute(
            operation: "DescribeDataShares", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Shows the status of any inbound or outbound datashares available in the specified account.
    ///
    /// Parameters:
    ///   - dataShareArn: The Amazon resource name (ARN) of the datashare to describe details of.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataShares request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeDataShares(
        dataShareArn: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeDataSharesResult {
        let input = DescribeDataSharesMessage(
            dataShareArn: dataShareArn, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeDataShares(input, logger: logger)
    }

    /// Returns a list of datashares where the account identifier being called is a consumer account identifier.
    @Sendable
    @inlinable
    public func describeDataSharesForConsumer(_ input: DescribeDataSharesForConsumerMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeDataSharesForConsumerResult {
        try await self.client.execute(
            operation: "DescribeDataSharesForConsumer", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of datashares where the account identifier being called is a consumer account identifier.
    ///
    /// Parameters:
    ///   - consumerArn: The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - status: An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeDataSharesForConsumer(
        consumerArn: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        status: DataShareStatusForConsumer? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeDataSharesForConsumerResult {
        let input = DescribeDataSharesForConsumerMessage(
            consumerArn: consumerArn, 
            marker: marker, 
            maxRecords: maxRecords, 
            status: status
        )
        return try await self.describeDataSharesForConsumer(input, logger: logger)
    }

    /// Returns a list of datashares when the account identifier being called is a producer account identifier.
    @Sendable
    @inlinable
    public func describeDataSharesForProducer(_ input: DescribeDataSharesForProducerMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeDataSharesForProducerResult {
        try await self.client.execute(
            operation: "DescribeDataSharesForProducer", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of datashares when the account identifier being called is a producer account identifier.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForProducer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - producerArn: The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.
    ///   - status: An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeDataSharesForProducer(
        marker: String? = nil,
        maxRecords: Int? = nil,
        producerArn: String? = nil,
        status: DataShareStatusForProducer? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeDataSharesForProducerResult {
        let input = DescribeDataSharesForProducerMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            producerArn: producerArn, 
            status: status
        )
        return try await self.describeDataSharesForProducer(input, logger: logger)
    }

    /// Returns a list of parameter settings for the specified parameter group family.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeDefaultClusterParameters(_ input: DescribeDefaultClusterParametersMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeDefaultClusterParametersResult {
        try await self.client.execute(
            operation: "DescribeDefaultClusterParameters", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of parameter settings for the specified parameter group family.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDefaultClusterParameters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupFamily: The name of the cluster parameter group family.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeDefaultClusterParameters(
        marker: String? = nil,
        maxRecords: Int? = nil,
        parameterGroupFamily: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeDefaultClusterParametersResult {
        let input = DescribeDefaultClusterParametersMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            parameterGroupFamily: parameterGroupFamily
        )
        return try await self.describeDefaultClusterParameters(input, logger: logger)
    }

    /// Describes a Redshift-managed VPC endpoint.
    @Sendable
    @inlinable
    public func describeEndpointAccess(_ input: DescribeEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAccessList {
        try await self.client.execute(
            operation: "DescribeEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes a Redshift-managed VPC endpoint.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The cluster identifier associated with the described endpoint.
    ///   - endpointName: The name of the endpoint to be described.
    ///   - marker: An optional pagination token provided by a previous DescribeEndpointAccess request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a Marker is included in the response so that the remaining results can be retrieved.
    ///   - resourceOwner: The Amazon Web Services account ID of the owner of the cluster.
    ///   - vpcId: The virtual private cloud (VPC) identifier with access to the cluster.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeEndpointAccess(
        clusterIdentifier: String? = nil,
        endpointName: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        resourceOwner: String? = nil,
        vpcId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAccessList {
        let input = DescribeEndpointAccessMessage(
            clusterIdentifier: clusterIdentifier, 
            endpointName: endpointName, 
            marker: marker, 
            maxRecords: maxRecords, 
            resourceOwner: resourceOwner, 
            vpcId: vpcId
        )
        return try await self.describeEndpointAccess(input, logger: logger)
    }

    /// Describes an endpoint authorization.
    @Sendable
    @inlinable
    public func describeEndpointAuthorization(_ input: DescribeEndpointAuthorizationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAuthorizationList {
        try await self.client.execute(
            operation: "DescribeEndpointAuthorization", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes an endpoint authorization.
    ///
    /// Parameters:
    ///   - account: The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.  If Grantee parameter is true, then the Account value is of the grantor.
    ///   - clusterIdentifier: The cluster identifier of the cluster to access.
    ///   - grantee: Indicates whether to check authorization from a grantor or grantee point of view.  If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
    ///   - marker: An optional pagination token provided by a previous DescribeEndpointAuthorization request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a Marker is included in the response so that the remaining results can be retrieved.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeEndpointAuthorization(
        account: String? = nil,
        clusterIdentifier: String? = nil,
        grantee: Bool? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAuthorizationList {
        let input = DescribeEndpointAuthorizationMessage(
            account: account, 
            clusterIdentifier: clusterIdentifier, 
            grantee: grantee, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeEndpointAuthorization(input, logger: logger)
    }

    /// Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.
    @Sendable
    @inlinable
    public func describeEventCategories(_ input: DescribeEventCategoriesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EventCategoriesMessage {
        try await self.client.execute(
            operation: "DescribeEventCategories", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.
    ///
    /// Parameters:
    ///   - sourceType: The source type, such as cluster or parameter group, to which the described event categories apply. Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeEventCategories(
        sourceType: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EventCategoriesMessage {
        let input = DescribeEventCategoriesMessage(
            sourceType: sourceType
        )
        return try await self.describeEventCategories(input, logger: logger)
    }

    /// Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account. If you specify a subscription name, lists the description for that subscription. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subscriptions that have any combination of those values are returned. If both tag keys and values are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeEventSubscriptions(_ input: DescribeEventSubscriptionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EventSubscriptionsMessage {
        try await self.client.execute(
            operation: "DescribeEventSubscriptions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account. If you specify a subscription name, lists the description for that subscription. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subscriptions that have any combination of those values are returned. If both tag keys and values are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - subscriptionName: The name of the Amazon Redshift event notification subscription to be described.
    ///   - tagKeys: A tag key or keys for which you want to return all matching event notification subscriptions that are associated with the specified key or keys. For example, suppose that you have subscriptions that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching event notification subscriptions that are associated with the specified tag value or values. For example, suppose that you have subscriptions that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeEventSubscriptions(
        marker: String? = nil,
        maxRecords: Int? = nil,
        subscriptionName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EventSubscriptionsMessage {
        let input = DescribeEventSubscriptionsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            subscriptionName: subscriptionName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeEventSubscriptions(input, logger: logger)
    }

    /// Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
    @Sendable
    @inlinable
    public func describeEvents(_ input: DescribeEventsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EventsMessage {
        try await self.client.execute(
            operation: "DescribeEvents", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
    ///
    /// Parameters:
    ///   - duration: The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned. Default: 60
    ///   - endTime: The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2009-07-08T18:00Z
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - sourceIdentifier: The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided.   Specify a cluster identifier when SourceType is cluster.   Specify a cluster security group name when SourceType is cluster-security-group.   Specify a cluster parameter group name when SourceType is cluster-parameter-group.   Specify a cluster snapshot identifier when SourceType is cluster-snapshot.
    ///   - sourceType: The event source to retrieve events for. If no value is specified, all events are returned. Constraints: If SourceType is supplied, SourceIdentifier must also be provided.   Specify cluster when SourceIdentifier is a cluster identifier.   Specify cluster-security-group when SourceIdentifier is a cluster security group name.   Specify cluster-parameter-group when SourceIdentifier is a cluster parameter group name.   Specify cluster-snapshot when SourceIdentifier is a cluster snapshot identifier.
    ///   - startTime: The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2009-07-08T18:00Z
    ///   - logger: Logger use during operation
    @inlinable
    public func describeEvents(
        duration: Int? = nil,
        endTime: Date? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        sourceIdentifier: String? = nil,
        sourceType: SourceType? = nil,
        startTime: Date? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EventsMessage {
        let input = DescribeEventsMessage(
            duration: duration, 
            endTime: endTime, 
            marker: marker, 
            maxRecords: maxRecords, 
            sourceIdentifier: sourceIdentifier, 
            sourceType: sourceType, 
            startTime: startTime
        )
        return try await self.describeEvents(input, logger: logger)
    }

    /// Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeHsmClientCertificates(_ input: DescribeHsmClientCertificatesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> HsmClientCertificateMessage {
        try await self.client.execute(
            operation: "DescribeHsmClientCertificates", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns information about the specified HSM client certificate. If no certificate ID is specified, returns information about all the HSM certificates owned by your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM client certificates that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM client certificates that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM client certificates are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - hsmClientCertificateIdentifier: The identifier of a specific HSM client certificate for which you want information. If no identifier is specified, information is returned for all HSM client certificates owned by your Amazon Web Services account.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmClientCertificates request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching HSM client certificates that are associated with the specified key or keys. For example, suppose that you have HSM client certificates that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching HSM client certificates that are associated with the specified tag value or values. For example, suppose that you have HSM client certificates that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeHsmClientCertificates(
        hsmClientCertificateIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> HsmClientCertificateMessage {
        let input = DescribeHsmClientCertificatesMessage(
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeHsmClientCertificates(input, logger: logger)
    }

    /// Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM connections that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeHsmConfigurations(_ input: DescribeHsmConfigurationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> HsmConfigurationMessage {
        try await self.client.execute(
            operation: "DescribeHsmConfigurations", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns information about the specified Amazon Redshift HSM configuration. If no configuration ID is specified, returns information about all the HSM configurations owned by your Amazon Web Services account. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all HSM connections that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all HSM connections that have any combination of those values are returned. If both tag keys and values are omitted from the request, HSM connections are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - hsmConfigurationIdentifier: The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your Amazon Web Services account.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeHsmConfigurations request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching HSM configurations that are associated with the specified key or keys. For example, suppose that you have HSM configurations that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching HSM configurations that are associated with the specified tag value or values. For example, suppose that you have HSM configurations that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeHsmConfigurations(
        hsmConfigurationIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> HsmConfigurationMessage {
        let input = DescribeHsmConfigurationsMessage(
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeHsmConfigurations(input, logger: logger)
    }

    /// Returns a list of inbound integrations.
    @Sendable
    @inlinable
    public func describeInboundIntegrations(_ input: DescribeInboundIntegrationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> InboundIntegrationsMessage {
        try await self.client.execute(
            operation: "DescribeInboundIntegrations", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of inbound integrations.
    ///
    /// Parameters:
    ///   - integrationArn: The Amazon Resource Name (ARN) of the inbound integration.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeInboundIntegrations request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - targetArn: The Amazon Resource Name (ARN) of the target of an inbound integration.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeInboundIntegrations(
        integrationArn: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        targetArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> InboundIntegrationsMessage {
        let input = DescribeInboundIntegrationsMessage(
            integrationArn: integrationArn, 
            marker: marker, 
            maxRecords: maxRecords, 
            targetArn: targetArn
        )
        return try await self.describeInboundIntegrations(input, logger: logger)
    }

    /// Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.
    @Sendable
    @inlinable
    public func describeIntegrations(_ input: DescribeIntegrationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> IntegrationsMessage {
        try await self.client.execute(
            operation: "DescribeIntegrations", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes one or more zero-ETL or S3 event integrations with Amazon Redshift.
    ///
    /// Parameters:
    ///   - filters: A filter that specifies one or more resources to return.
    ///   - integrationArn: The unique identifier of the integration.
    ///   - marker: An optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeIntegrations(
        filters: [DescribeIntegrationsFilter]? = nil,
        integrationArn: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> IntegrationsMessage {
        let input = DescribeIntegrationsMessage(
            filters: filters, 
            integrationArn: integrationArn, 
            marker: marker, 
            maxRecords: maxRecords
        )
        return try await self.describeIntegrations(input, logger: logger)
    }

    /// Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.
    @Sendable
    @inlinable
    public func describeLoggingStatus(_ input: DescribeLoggingStatusMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> LoggingStatus {
        try await self.client.execute(
            operation: "DescribeLoggingStatus", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster from which to get the logging status. Example: examplecluster
    ///   - logger: Logger use during operation
    @inlinable
    public func describeLoggingStatus(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> LoggingStatus {
        let input = DescribeLoggingStatusMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.describeLoggingStatus(input, logger: logger)
    }

    /// Returns properties of possible node configurations such as node type, number of nodes, and  disk usage for the specified action type.
    @Sendable
    @inlinable
    public func describeNodeConfigurationOptions(_ input: DescribeNodeConfigurationOptionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> NodeConfigurationOptionsMessage {
        try await self.client.execute(
            operation: "DescribeNodeConfigurationOptions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns properties of possible node configurations such as node type, number of nodes, and  disk usage for the specified action type.
    ///
    /// Parameters:
    ///   - actionType: The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot.  Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot.  Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.
    ///   - clusterIdentifier: The identifier of the cluster to evaluate for possible node configurations.
    ///   - filters: A set of name, operator, and value items to filter the results.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeNodeConfigurationOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 500  Constraints: minimum 100, maximum 500.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot.  Required if you are restoring a snapshot you do not own,  optional if you own the snapshot.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.
    ///   - snapshotIdentifier: The identifier of the snapshot to evaluate for possible node configurations.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeNodeConfigurationOptions(
        actionType: ActionType? = nil,
        clusterIdentifier: String? = nil,
        filters: [NodeConfigurationOptionsFilter]? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        ownerAccount: String? = nil,
        snapshotArn: String? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> NodeConfigurationOptionsMessage {
        let input = DescribeNodeConfigurationOptionsMessage(
            actionType: actionType, 
            clusterIdentifier: clusterIdentifier, 
            filters: filters, 
            marker: marker, 
            maxRecords: maxRecords, 
            ownerAccount: ownerAccount, 
            snapshotArn: snapshotArn, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.describeNodeConfigurationOptions(input, logger: logger)
    }

    /// Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific Amazon Web Services Region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeOrderableClusterOptions(_ input: DescribeOrderableClusterOptionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> OrderableClusterOptionsMessage {
        try await self.client.execute(
            operation: "DescribeOrderableClusterOptions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of orderable cluster options. Before you create a new cluster you can use this operation to find what options are available, such as the EC2 Availability Zones (AZ) in the specific Amazon Web Services Region that you can specify, and the node types you can request. The node types differ by available storage, memory, CPU and price. With the cost involved you might want to obtain a list of cluster options in the specific region and specify values when creating a cluster.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterVersion: The version filter value. Specify this parameter to show only the available offerings matching the specified version. Default: All versions. Constraints: Must be one of the version returned from DescribeClusterVersions.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeOrderableClusterOptions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - nodeType: The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeOrderableClusterOptions(
        clusterVersion: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        nodeType: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> OrderableClusterOptionsMessage {
        let input = DescribeOrderableClusterOptionsMessage(
            clusterVersion: clusterVersion, 
            marker: marker, 
            maxRecords: maxRecords, 
            nodeType: nodeType
        )
        return try await self.describeOrderableClusterOptions(input, logger: logger)
    }

    /// Returns information about the partner integrations defined for a cluster.
    @Sendable
    @inlinable
    public func describePartners(_ input: DescribePartnersInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribePartnersOutputMessage {
        try await self.client.execute(
            operation: "DescribePartners", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns information about the partner integrations defined for a cluster.
    ///
    /// Parameters:
    ///   - accountId: The Amazon Web Services account ID that owns the cluster.
    ///   - clusterIdentifier: The cluster identifier of the cluster whose partner integration is being described.
    ///   - databaseName: The name of the database whose partner integration is being described. If database name is not specified, then all databases in the cluster are described.
    ///   - partnerName: The name of the partner that is being described. If partner name is not specified, then all partner integrations are described.
    ///   - logger: Logger use during operation
    @inlinable
    public func describePartners(
        accountId: String? = nil,
        clusterIdentifier: String? = nil,
        databaseName: String? = nil,
        partnerName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribePartnersOutputMessage {
        let input = DescribePartnersInputMessage(
            accountId: accountId, 
            clusterIdentifier: clusterIdentifier, 
            databaseName: databaseName, 
            partnerName: partnerName
        )
        return try await self.describePartners(input, logger: logger)
    }

    /// Lists the Amazon Redshift IAM Identity Center applications.
    @Sendable
    @inlinable
    public func describeRedshiftIdcApplications(_ input: DescribeRedshiftIdcApplicationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeRedshiftIdcApplicationsResult {
        try await self.client.execute(
            operation: "DescribeRedshiftIdcApplications", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Lists the Amazon Redshift IAM Identity Center applications.
    ///
    /// Parameters:
    ///   - marker: A value that indicates the starting point for the next set of response records in a subsequent request. If a  value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records  exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve  the next set of records by retrying the command with the returned marker value.
    ///   - redshiftIdcApplicationArn: The ARN for the Redshift application that integrates with IAM Identity Center.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeRedshiftIdcApplications(
        marker: String? = nil,
        maxRecords: Int? = nil,
        redshiftIdcApplicationArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeRedshiftIdcApplicationsResult {
        let input = DescribeRedshiftIdcApplicationsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            redshiftIdcApplicationArn: redshiftIdcApplicationArn
        )
        return try await self.describeRedshiftIdcApplications(input, logger: logger)
    }

    /// Returns exchange status details and associated metadata for a reserved-node exchange. Statuses include such values as in progress and requested.
    @Sendable
    @inlinable
    public func describeReservedNodeExchangeStatus(_ input: DescribeReservedNodeExchangeStatusInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeReservedNodeExchangeStatusOutputMessage {
        try await self.client.execute(
            operation: "DescribeReservedNodeExchangeStatus", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns exchange status details and associated metadata for a reserved-node exchange. Statuses include such values as in progress and requested.
    ///
    /// Parameters:
    ///   - marker: An optional pagination token provided by a previous DescribeReservedNodeExchangeStatus request. If this  parameter is specified, the response includes only records beyond the marker, up to the value  specified by the MaxRecords parameter. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - reservedNodeExchangeRequestId: The identifier of the reserved-node exchange request.
    ///   - reservedNodeId: The identifier of the source reserved node in a reserved-node exchange request.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeReservedNodeExchangeStatus(
        marker: String? = nil,
        maxRecords: Int? = nil,
        reservedNodeExchangeRequestId: String? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeReservedNodeExchangeStatusOutputMessage {
        let input = DescribeReservedNodeExchangeStatusInputMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            reservedNodeExchangeRequestId: reservedNodeExchangeRequestId, 
            reservedNodeId: reservedNodeId
        )
        return try await self.describeReservedNodeExchangeStatus(input, logger: logger)
    }

    /// Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.
    /// For more information about reserved node offerings, go to
    /// Purchasing Reserved Nodes
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeReservedNodeOfferings(_ input: DescribeReservedNodeOfferingsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ReservedNodeOfferingsMessage {
        try await self.client.execute(
            operation: "DescribeReservedNodeOfferings", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of the available reserved node offerings by Amazon Redshift with their descriptions including the node type, the fixed and recurring costs of reserving the node and duration the node will be reserved for you. These descriptions help you determine which reserve node offering you want to purchase. You then use the unique offering ID in you call to PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon Redshift cluster.
    /// For more information about reserved node offerings, go to
    /// Purchasing Reserved Nodes
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodeOfferings request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - reservedNodeOfferingId: The unique identifier for the offering.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeReservedNodeOfferings(
        marker: String? = nil,
        maxRecords: Int? = nil,
        reservedNodeOfferingId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ReservedNodeOfferingsMessage {
        let input = DescribeReservedNodeOfferingsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            reservedNodeOfferingId: reservedNodeOfferingId
        )
        return try await self.describeReservedNodeOfferings(input, logger: logger)
    }

    /// Returns the descriptions of the reserved nodes.
    @Sendable
    @inlinable
    public func describeReservedNodes(_ input: DescribeReservedNodesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ReservedNodesMessage {
        try await self.client.execute(
            operation: "DescribeReservedNodes", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns the descriptions of the reserved nodes.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeReservedNodes request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - reservedNodeId: Identifier for the node reservation.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeReservedNodes(
        marker: String? = nil,
        maxRecords: Int? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ReservedNodesMessage {
        let input = DescribeReservedNodesMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            reservedNodeId: reservedNodeId
        )
        return try await self.describeReservedNodes(input, logger: logger)
    }

    /// Returns information about the last resize operation for the specified cluster. If no resize operation has ever been initiated for the specified cluster, a HTTP 404 error is returned. If a resize operation was initiated and completed, the status of the resize remains as SUCCEEDED until the next resize.  A resize operation can be requested using ModifyCluster and specifying a different number or type of nodes for the cluster.
    @Sendable
    @inlinable
    public func describeResize(_ input: DescribeResizeMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ResizeProgressMessage {
        try await self.client.execute(
            operation: "DescribeResize", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns information about the last resize operation for the specified cluster. If no resize operation has ever been initiated for the specified cluster, a HTTP 404 error is returned. If a resize operation was initiated and completed, the status of the resize remains as SUCCEEDED until the next resize.  A resize operation can be requested using ModifyCluster and specifying a different number or type of nodes for the cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose resize progress you are requesting. This parameter is case-sensitive. By default, resize operations for all clusters defined for an Amazon Web Services account are returned.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeResize(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ResizeProgressMessage {
        let input = DescribeResizeMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.describeResize(input, logger: logger)
    }

    /// Describes properties of scheduled actions.
    @Sendable
    @inlinable
    public func describeScheduledActions(_ input: DescribeScheduledActionsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ScheduledActionsMessage {
        try await self.client.execute(
            operation: "DescribeScheduledActions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Describes properties of scheduled actions.
    ///
    /// Parameters:
    ///   - active: If true, retrieve only active scheduled actions.  If false, retrieve only disabled scheduled actions.
    ///   - endTime: The end time in UTC of the scheduled action to retrieve.  Only active scheduled actions that have invocations before this time are retrieved.
    ///   - filters: List of scheduled action filters.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeScheduledActions request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - scheduledActionName: The name of the scheduled action to retrieve.
    ///   - startTime: The start time in UTC of the scheduled actions to retrieve.  Only active scheduled actions that have invocations after this time are retrieved.
    ///   - targetActionType: The type of the scheduled actions to retrieve.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeScheduledActions(
        active: Bool? = nil,
        endTime: Date? = nil,
        filters: [ScheduledActionFilter]? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        scheduledActionName: String? = nil,
        startTime: Date? = nil,
        targetActionType: ScheduledActionTypeValues? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ScheduledActionsMessage {
        let input = DescribeScheduledActionsMessage(
            active: active, 
            endTime: endTime, 
            filters: filters, 
            marker: marker, 
            maxRecords: maxRecords, 
            scheduledActionName: scheduledActionName, 
            startTime: startTime, 
            targetActionType: targetActionType
        )
        return try await self.describeScheduledActions(input, logger: logger)
    }

    /// Returns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region.
    /// For more information about managing snapshot copy grants, go to
    /// Amazon Redshift Database Encryption
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func describeSnapshotCopyGrants(_ input: DescribeSnapshotCopyGrantsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> SnapshotCopyGrantMessage {
        try await self.client.execute(
            operation: "DescribeSnapshotCopyGrants", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of snapshot copy grants owned by the Amazon Web Services account in the destination region.
    /// For more information about managing snapshot copy grants, go to
    /// Amazon Redshift Database Encryption
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeSnapshotCopyGrant request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - snapshotCopyGrantName: The name of the snapshot copy grant.
    ///   - tagKeys: A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeSnapshotCopyGrants(
        marker: String? = nil,
        maxRecords: Int? = nil,
        snapshotCopyGrantName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> SnapshotCopyGrantMessage {
        let input = DescribeSnapshotCopyGrantsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            snapshotCopyGrantName: snapshotCopyGrantName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeSnapshotCopyGrants(input, logger: logger)
    }

    /// Returns a list of snapshot schedules.
    @Sendable
    @inlinable
    public func describeSnapshotSchedules(_ input: DescribeSnapshotSchedulesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DescribeSnapshotSchedulesOutputMessage {
        try await self.client.execute(
            operation: "DescribeSnapshotSchedules", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of snapshot schedules.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier for the cluster whose snapshot schedules you want to view.
    ///   - marker: A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.
    ///   - maxRecords: The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - scheduleIdentifier: A unique identifier for a snapshot schedule.
    ///   - tagKeys: The key value for a snapshot schedule tag.
    ///   - tagValues: The value corresponding to the key of the snapshot schedule tag.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeSnapshotSchedules(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        scheduleIdentifier: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DescribeSnapshotSchedulesOutputMessage {
        let input = DescribeSnapshotSchedulesMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            scheduleIdentifier: scheduleIdentifier, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeSnapshotSchedules(input, logger: logger)
    }

    /// Returns account level backups storage size and provisional storage.
    @Sendable
    @inlinable
    public func describeStorage(logger: Logger = AWSClient.loggingDisabled) async throws -> CustomerStorageMessage {
        try await self.client.execute(
            operation: "DescribeStorage", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            logger: logger
        )
    }

    /// Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId.
    @Sendable
    @inlinable
    public func describeTableRestoreStatus(_ input: DescribeTableRestoreStatusMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> TableRestoreStatusMessage {
        try await self.client.execute(
            operation: "DescribeTableRestoreStatus", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The Amazon Redshift cluster that the table is being restored to.
    ///   - marker: An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
    ///   - tableRestoreRequestId: The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeTableRestoreStatus(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tableRestoreRequestId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> TableRestoreStatusMessage {
        let input = DescribeTableRestoreStatusMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tableRestoreRequestId: tableRestoreRequestId
        )
        return try await self.describeTableRestoreStatus(input, logger: logger)
    }

    /// Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on. The following are limitations for DescribeTags:    You cannot specify an ARN and a resource-type value together in the same request.   You cannot use the MaxRecords and Marker parameters together with the ARN parameter.   The MaxRecords parameter can be a range from 10 to 50 results to return in a request.   If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned. If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them.
    @Sendable
    @inlinable
    public func describeTags(_ input: DescribeTagsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> TaggedResourceListMessage {
        try await self.client.execute(
            operation: "DescribeTags", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on. The following are limitations for DescribeTags:    You cannot specify an ARN and a resource-type value together in the same request.   You cannot use the MaxRecords and Marker parameters together with the ARN parameter.   The MaxRecords parameter can be a range from 10 to 50 results to return in a request.   If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned. If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them.
    ///
    /// Parameters:
    ///   - marker: A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command. If the marker field is empty, all response records have been retrieved for the request.
    ///   - maxRecords: The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - resourceName: The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
    ///   - resourceType: The type of resource with which you want to view tags. Valid resource types are:    Cluster   CIDR/IP   EC2 security group   Snapshot   Cluster security group   Subnet group   HSM connection   HSM certificate   Parameter group   Snapshot copy grant   Integration (zero-ETL integration or S3 event integration)  To describe the tags associated with an integration, don't specify ResourceType,  instead specify the ResourceName of the integration.    For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.
    ///   - tagKeys: A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeTags(
        marker: String? = nil,
        maxRecords: Int? = nil,
        resourceName: String? = nil,
        resourceType: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> TaggedResourceListMessage {
        let input = DescribeTagsMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            resourceName: resourceName, 
            resourceType: resourceType, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return try await self.describeTags(input, logger: logger)
    }

    /// Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier, cluster identifier, and feature type parameters:   If usage limit identifier, cluster identifier, and feature type are not provided,  then all usage limit objects for the current account in the current region are returned.   If usage limit identifier is provided,  then the corresponding usage limit object is returned.   If cluster identifier is provided,  then all usage limit objects for the specified cluster are returned.   If cluster identifier and feature type are provided,  then all usage limit objects for the combination of cluster and feature are returned.
    @Sendable
    @inlinable
    public func describeUsageLimits(_ input: DescribeUsageLimitsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> UsageLimitList {
        try await self.client.execute(
            operation: "DescribeUsageLimits", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier, cluster identifier, and feature type parameters:   If usage limit identifier, cluster identifier, and feature type are not provided,  then all usage limit objects for the current account in the current region are returned.   If usage limit identifier is provided,  then the corresponding usage limit object is returned.   If cluster identifier is provided,  then all usage limit objects for the specified cluster are returned.   If cluster identifier and feature type are provided,  then all usage limit objects for the combination of cluster and feature are returned.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster for which you want to describe usage limits.
    ///   - featureType: The feature type for which you want to describe usage limits.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeUsageLimits request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching usage limit objects that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the usage limit objects have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching usage limit objects that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the usage limit objects that have either or both of these tag values associated with them.
    ///   - usageLimitId: The identifier of the usage limit to describe.
    ///   - logger: Logger use during operation
    @inlinable
    public func describeUsageLimits(
        clusterIdentifier: String? = nil,
        featureType: UsageLimitFeatureType? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        usageLimitId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> UsageLimitList {
        let input = DescribeUsageLimitsMessage(
            clusterIdentifier: clusterIdentifier, 
            featureType: featureType, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues, 
            usageLimitId: usageLimitId
        )
        return try await self.describeUsageLimits(input, logger: logger)
    }

    /// Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
    @Sendable
    @inlinable
    public func disableLogging(_ input: DisableLoggingMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> LoggingStatus {
        try await self.client.execute(
            operation: "DisableLogging", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster on which logging is to be stopped. Example: examplecluster
    ///   - logger: Logger use during operation
    @inlinable
    public func disableLogging(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> LoggingStatus {
        let input = DisableLoggingMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.disableLogging(input, logger: logger)
    }

    /// Disables the automatic copying of snapshots from one region to another region for a specified cluster. If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.
    @Sendable
    @inlinable
    public func disableSnapshotCopy(_ input: DisableSnapshotCopyMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DisableSnapshotCopyResult {
        try await self.client.execute(
            operation: "DisableSnapshotCopy", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Disables the automatic copying of snapshots from one region to another region for a specified cluster. If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region. Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
    ///   - logger: Logger use during operation
    @inlinable
    public func disableSnapshotCopy(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DisableSnapshotCopyResult {
        let input = DisableSnapshotCopyMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.disableSnapshotCopy(input, logger: logger)
    }

    /// From a datashare consumer account, remove association for the specified datashare.
    @Sendable
    @inlinable
    public func disassociateDataShareConsumer(_ input: DisassociateDataShareConsumerMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DataShare {
        try await self.client.execute(
            operation: "DisassociateDataShareConsumer", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// From a datashare consumer account, remove association for the specified datashare.
    ///
    /// Parameters:
    ///   - consumerArn: The Amazon Resource Name (ARN) of the consumer namespace that association for the datashare is removed from.
    ///   - consumerRegion: From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.
    ///   - dataShareArn: The Amazon Resource Name (ARN) of the datashare to remove association for.
    ///   - disassociateEntireAccount: A value that specifies whether association for the datashare is removed from the entire account.
    ///   - logger: Logger use during operation
    @inlinable
    public func disassociateDataShareConsumer(
        consumerArn: String? = nil,
        consumerRegion: String? = nil,
        dataShareArn: String? = nil,
        disassociateEntireAccount: Bool? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DataShare {
        let input = DisassociateDataShareConsumerMessage(
            consumerArn: consumerArn, 
            consumerRegion: consumerRegion, 
            dataShareArn: dataShareArn, 
            disassociateEntireAccount: disassociateEntireAccount
        )
        return try await self.disassociateDataShareConsumer(input, logger: logger)
    }

    /// Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
    @Sendable
    @inlinable
    public func enableLogging(_ input: EnableLoggingMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> LoggingStatus {
        try await self.client.execute(
            operation: "EnableLogging", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
    ///
    /// Parameters:
    ///   - bucketName: The name of an existing S3 bucket where the log files are to be stored. Constraints:   Must be in the same region as the cluster   The cluster must have read bucket and put object permissions
    ///   - clusterIdentifier: The identifier of the cluster on which logging is to be started. Example: examplecluster
    ///   - logDestinationType: The log destination type. An enum with possible values of s3 and cloudwatch.
    ///   - logExports: The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.
    ///   - s3KeyPrefix: The prefix applied to the log file names. Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters:  underscore (_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\), hyphen (-), at symbol (@).
    ///   - logger: Logger use during operation
    @inlinable
    public func enableLogging(
        bucketName: String? = nil,
        clusterIdentifier: String? = nil,
        logDestinationType: LogDestinationType? = nil,
        logExports: [String]? = nil,
        s3KeyPrefix: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> LoggingStatus {
        let input = EnableLoggingMessage(
            bucketName: bucketName, 
            clusterIdentifier: clusterIdentifier, 
            logDestinationType: logDestinationType, 
            logExports: logExports, 
            s3KeyPrefix: s3KeyPrefix
        )
        return try await self.enableLogging(input, logger: logger)
    }

    /// Enables the automatic copy of snapshots from one region to another region for a specified cluster.
    @Sendable
    @inlinable
    public func enableSnapshotCopy(_ input: EnableSnapshotCopyMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EnableSnapshotCopyResult {
        try await self.client.execute(
            operation: "EnableSnapshotCopy", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Enables the automatic copy of snapshots from one region to another region for a specified cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the source cluster to copy snapshots from. Constraints: Must be the valid name of an existing cluster that does not already have cross-region snapshot copy enabled.
    ///   - destinationRegion: The destination Amazon Web Services Region that you want to copy snapshots to. Constraints: Must be the name of a valid Amazon Web Services Region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.
    ///   - manualSnapshotRetentionPeriod: The number of days to retain newly copied snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. If the value is -1, the manual snapshot is retained indefinitely.  The value must be either -1 or an integer between 1 and 3,653.
    ///   - retentionPeriod: The number of days to retain automated snapshots in the destination region after they are copied from the source region. Default: 7. Constraints: Must be at least 1 and no more than 35.
    ///   - snapshotCopyGrantName: The name of the snapshot copy grant to use when snapshots of an Amazon Web Services KMS-encrypted cluster are copied to the destination region.
    ///   - logger: Logger use during operation
    @inlinable
    public func enableSnapshotCopy(
        clusterIdentifier: String? = nil,
        destinationRegion: String? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        retentionPeriod: Int? = nil,
        snapshotCopyGrantName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EnableSnapshotCopyResult {
        let input = EnableSnapshotCopyMessage(
            clusterIdentifier: clusterIdentifier, 
            destinationRegion: destinationRegion, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            retentionPeriod: retentionPeriod, 
            snapshotCopyGrantName: snapshotCopyGrantName
        )
        return try await self.enableSnapshotCopy(input, logger: logger)
    }

    /// Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
    @Sendable
    @inlinable
    public func failoverPrimaryCompute(_ input: FailoverPrimaryComputeInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> FailoverPrimaryComputeResult {
        try await self.client.execute(
            operation: "FailoverPrimaryCompute", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.
    ///   - logger: Logger use during operation
    @inlinable
    public func failoverPrimaryCompute(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> FailoverPrimaryComputeResult {
        let input = FailoverPrimaryComputeInputMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.failoverPrimaryCompute(input, logger: logger)
    }

    /// Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide. The Identity and Access Management (IAM) user or role that runs GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide. If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups.  In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser permission. If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.
    @Sendable
    @inlinable
    public func getClusterCredentials(_ input: GetClusterCredentialsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterCredentials {
        try await self.client.execute(
            operation: "GetClusterCredentials", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes). For more information, see Using IAM Authentication to Generate Database User Credentials in the Amazon Redshift Cluster Management Guide. The Identity and Access Management (IAM) user or role that runs GetClusterCredentials must have an IAM policy attached that allows access to all necessary actions and resources. For more information about permissions, see Resource Policies for GetClusterCredentials in the Amazon Redshift Cluster Management Guide. If the DbGroups parameter is specified, the IAM policy must allow the redshift:JoinGroup action with access to the listed dbgroups.  In addition, if the AutoCreate parameter is set to True, then the policy must include the redshift:CreateClusterUser permission. If the DbName parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.
    ///
    /// Parameters:
    ///   - autoCreate: Create a database user with the name specified for the user named in DbUser if one does not exist.
    ///   - clusterIdentifier: The unique identifier of the cluster that contains the database for which you are requesting credentials. This parameter is case sensitive.
    ///   - customDomainName: The custom domain name for the cluster credentials.
    ///   - dbGroups: A list of the names of existing database groups that the user named in DbUser will join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only to PUBLIC. Database group name constraints   Must be 1 to 64 alphanumeric characters or hyphens   Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.   First character must be a letter.   Must not contain a colon ( : ) or slash ( / ).    Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
    ///   - dbName: The name of a database that DbUser is authorized to log on to. If DbName is not specified, DbUser can log on to any existing database. Constraints:   Must be 1 to 64 alphanumeric characters or hyphens   Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.   First character must be a letter.   Must not contain a colon ( : ) or slash ( / ).    Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
    ///   - dbUser: The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn't exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn't exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database. For more information, see CREATE USER in the Amazon Redshift Database Developer Guide.  Constraints:   Must be 1 to 64 alphanumeric characters or hyphens. The user name can't be PUBLIC.   Must contain uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.   First character must be a letter.   Must not contain a colon ( : ) or slash ( / ).    Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
    ///   - durationSeconds: The number of seconds until the returned temporary password expires. Constraint: minimum 900, maximum 3600. Default: 900
    ///   - logger: Logger use during operation
    @inlinable
    public func getClusterCredentials(
        autoCreate: Bool? = nil,
        clusterIdentifier: String? = nil,
        customDomainName: String? = nil,
        dbGroups: [String]? = nil,
        dbName: String? = nil,
        dbUser: String? = nil,
        durationSeconds: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterCredentials {
        let input = GetClusterCredentialsMessage(
            autoCreate: autoCreate, 
            clusterIdentifier: clusterIdentifier, 
            customDomainName: customDomainName, 
            dbGroups: dbGroups, 
            dbName: dbName, 
            dbUser: dbUser, 
            durationSeconds: durationSeconds
        )
        return try await self.getClusterCredentials(input, logger: logger)
    }

    /// Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The database user is mapped 1:1 to the source Identity and Access Management (IAM) identity. For more information about IAM identities, see IAM Identities (users, user groups, and roles) in the Amazon Web Services Identity and Access Management User Guide. The Identity and Access Management (IAM) identity that runs this operation must have an IAM policy attached that allows access to all necessary actions and resources.  For more information about permissions, see Using identity-based policies (IAM policies) in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func getClusterCredentialsWithIAM(_ input: GetClusterCredentialsWithIAMMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterExtendedCredentials {
        try await self.client.execute(
            operation: "GetClusterCredentialsWithIAM", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. The database user is mapped 1:1 to the source Identity and Access Management (IAM) identity. For more information about IAM identities, see IAM Identities (users, user groups, and roles) in the Amazon Web Services Identity and Access Management User Guide. The Identity and Access Management (IAM) identity that runs this operation must have an IAM policy attached that allows access to all necessary actions and resources.  For more information about permissions, see Using identity-based policies (IAM policies) in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the cluster that contains the database for which you are requesting credentials.
    ///   - customDomainName: The custom domain name for the IAM message cluster credentials.
    ///   - dbName: The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname for the specified database name. If the database name is not specified, access to all databases is allowed.
    ///   - durationSeconds: The number of seconds until the returned temporary password expires. Range: 900-3600. Default: 900.
    ///   - logger: Logger use during operation
    @inlinable
    public func getClusterCredentialsWithIAM(
        clusterIdentifier: String? = nil,
        customDomainName: String? = nil,
        dbName: String? = nil,
        durationSeconds: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterExtendedCredentials {
        let input = GetClusterCredentialsWithIAMMessage(
            clusterIdentifier: clusterIdentifier, 
            customDomainName: customDomainName, 
            dbName: dbName, 
            durationSeconds: durationSeconds
        )
        return try await self.getClusterCredentialsWithIAM(input, logger: logger)
    }

    /// Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.
    @Sendable
    @inlinable
    public func getReservedNodeExchangeConfigurationOptions(_ input: GetReservedNodeExchangeConfigurationOptionsInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> GetReservedNodeExchangeConfigurationOptionsOutputMessage {
        try await self.client.execute(
            operation: "GetReservedNodeExchangeConfigurationOptions", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Gets the configuration options for the reserved-node exchange. These options include information about the source reserved node and target reserved node offering. Details include the node type, the price, the node count, and the offering type.
    ///
    /// Parameters:
    ///   - actionType: The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.
    ///   - clusterIdentifier: The identifier for the cluster that is the source for a reserved-node exchange.
    ///   - marker: An optional pagination token provided by a previous GetReservedNodeExchangeConfigurationOptions request. If this  parameter is specified, the response includes only records beyond the marker, up to the value  specified by the MaxRecords parameter. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - snapshotIdentifier: The identifier for the snapshot that is the source for the reserved-node exchange.
    ///   - logger: Logger use during operation
    @inlinable
    public func getReservedNodeExchangeConfigurationOptions(
        actionType: ReservedNodeExchangeActionType? = nil,
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> GetReservedNodeExchangeConfigurationOptionsOutputMessage {
        let input = GetReservedNodeExchangeConfigurationOptionsInputMessage(
            actionType: actionType, 
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.getReservedNodeExchangeConfigurationOptions(input, logger: logger)
    }

    /// Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
    @Sendable
    @inlinable
    public func getReservedNodeExchangeOfferings(_ input: GetReservedNodeExchangeOfferingsInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> GetReservedNodeExchangeOfferingsOutputMessage {
        try await self.client.execute(
            operation: "GetReservedNodeExchangeOfferings", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term, and usage price of the given DC1 reserved node.
    ///
    /// Parameters:
    ///   - marker: A value that indicates the starting point for the next set of ReservedNodeOfferings.
    ///   - maxRecords: An integer setting the maximum number of ReservedNodeOfferings to retrieve.
    ///   - reservedNodeId: A string representing the node identifier for the DC1 Reserved Node to be exchanged.
    ///   - logger: Logger use during operation
    @inlinable
    public func getReservedNodeExchangeOfferings(
        marker: String? = nil,
        maxRecords: Int? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> GetReservedNodeExchangeOfferingsOutputMessage {
        let input = GetReservedNodeExchangeOfferingsInputMessage(
            marker: marker, 
            maxRecords: maxRecords, 
            reservedNodeId: reservedNodeId
        )
        return try await self.getReservedNodeExchangeOfferings(input, logger: logger)
    }

    /// Get the resource policy for a specified resource.
    @Sendable
    @inlinable
    public func getResourcePolicy(_ input: GetResourcePolicyMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> GetResourcePolicyResult {
        try await self.client.execute(
            operation: "GetResourcePolicy", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Get the resource policy for a specified resource.
    ///
    /// Parameters:
    ///   - resourceArn: The Amazon Resource Name (ARN) of the resource of which its resource policy is fetched.
    ///   - logger: Logger use during operation
    @inlinable
    public func getResourcePolicy(
        resourceArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> GetResourcePolicyResult {
        let input = GetResourcePolicyMessage(
            resourceArn: resourceArn
        )
        return try await self.getResourcePolicy(input, logger: logger)
    }

    /// List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
    @Sendable
    @inlinable
    public func listRecommendations(_ input: ListRecommendationsMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ListRecommendationsResult {
        try await self.client.execute(
            operation: "ListRecommendations", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned.  If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
    ///   - marker: A value that indicates the starting point for the next set of response records in a subsequent request. If a  value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records  exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve  the next set of records by retrying the command with the returned marker value.
    ///   - namespaceArn: The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
    ///   - logger: Logger use during operation
    @inlinable
    public func listRecommendations(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        namespaceArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ListRecommendationsResult {
        let input = ListRecommendationsMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            namespaceArn: namespaceArn
        )
        return try await self.listRecommendations(input, logger: logger)
    }

    /// This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
    @Sendable
    @inlinable
    public func modifyAquaConfiguration(_ input: ModifyAquaInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyAquaOutputMessage {
        try await self.client.execute(
            operation: "ModifyAquaConfiguration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// This operation is retired. Calling this operation does not change AQUA configuration. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
    ///
    /// Parameters:
    ///   - aquaConfigurationStatus: This parameter is retired. Amazon Redshift automatically  determines whether to use AQUA (Advanced Query Accelerator).
    ///   - clusterIdentifier: The identifier of the cluster to be modified.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyAquaConfiguration(
        aquaConfigurationStatus: AquaConfigurationStatus? = nil,
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyAquaOutputMessage {
        let input = ModifyAquaInputMessage(
            aquaConfigurationStatus: aquaConfigurationStatus, 
            clusterIdentifier: clusterIdentifier
        )
        return try await self.modifyAquaConfiguration(input, logger: logger)
    }

    /// Modifies an authentication profile.
    @Sendable
    @inlinable
    public func modifyAuthenticationProfile(_ input: ModifyAuthenticationProfileMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyAuthenticationProfileResult {
        try await self.client.execute(
            operation: "ModifyAuthenticationProfile", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies an authentication profile.
    ///
    /// Parameters:
    ///   - authenticationProfileContent: The new content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
    ///   - authenticationProfileName: The name of the authentication profile to replace.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyAuthenticationProfile(
        authenticationProfileContent: String? = nil,
        authenticationProfileName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyAuthenticationProfileResult {
        let input = ModifyAuthenticationProfileMessage(
            authenticationProfileContent: authenticationProfileContent, 
            authenticationProfileName: authenticationProfileName
        )
        return try await self.modifyAuthenticationProfile(input, logger: logger)
    }

    /// Modifies the settings for a cluster. You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change. You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    @Sendable
    @inlinable
    public func modifyCluster(_ input: ModifyClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterResult {
        try await self.client.execute(
            operation: "ModifyCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the settings for a cluster. You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change. You can add another security or parameter group, or change the admin user password. Resetting a cluster password or modifying the security groups associated with a cluster do not need a reboot. However, modifying a parameter group requires a reboot for parameters to take effect.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    ///
    /// Parameters:
    ///   - allowVersionUpgrade: If true, major version upgrades will be applied automatically to the cluster during the maintenance window.  Default: false
    ///   - automatedSnapshotRetentionPeriod: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.  If you decrease the automated snapshot retention period from its current value, existing automated snapshots that fall outside of the new retention period will be immediately deleted. You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days. Default: Uses existing setting. Constraints: Must be a value from 0 to 35.
    ///   - availabilityZone: The option to initiate relocation for an Amazon Redshift cluster to the target Availability Zone.
    ///   - availabilityZoneRelocation: The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
    ///   - clusterIdentifier: The unique identifier of the cluster to be modified. Example: examplecluster
    ///   - clusterParameterGroupName: The name of the cluster parameter group to apply to this cluster. This change is applied only after the cluster is rebooted. To reboot a cluster use RebootCluster.  Default: Uses existing setting. Constraints: The cluster parameter group must be in the same parameter group family that matches the cluster version.
    ///   - clusterSecurityGroups: A list of cluster security groups to be authorized on this cluster. This change is asynchronously applied as soon as possible. Security groups currently associated with the cluster, and not in the list of groups to apply, will be revoked from the cluster. Constraints:   Must be 1 to 255 alphanumeric characters or hyphens   First character must be a letter   Cannot end with a hyphen or contain two consecutive hyphens
    ///   - clusterType: The new cluster type. When you submit your cluster resize request, your existing cluster goes into a read-only mode. After Amazon Redshift provisions a new cluster based on your resize requirements, there will be outage for a period while the old cluster is deleted and your connection is switched to the new cluster. You can use DescribeResize to track the progress of the resize request.  Valid Values:  multi-node | single-node
    ///   - clusterVersion: The new version number of the Amazon Redshift engine to upgrade to. For major version upgrades, if a non-default cluster parameter group is currently in use, a new cluster parameter group in the cluster parameter group family for the new version must be specified. The new cluster parameter group can be the default for that cluster parameter group family.
    ///   - elasticIp: The Elastic IP (EIP) address for the cluster. Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible through an Internet gateway. For more information about provisioning clusters in EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management Guide.
    ///   - encrypted: Indicates whether the cluster is encrypted. If the value is encrypted (true) and you provide a value for the KmsKeyId parameter, we encrypt the cluster with the provided KmsKeyId. If you don't provide a KmsKeyId, we encrypt with the default key.  If the value is not encrypted (false), then the cluster is decrypted.
    ///   - enhancedVpcRouting: An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled.  Default: false
    ///   - hsmClientCertificateIdentifier: Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
    ///   - hsmConfigurationIdentifier: Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
    ///   - ipAddressType: The IP address types that the cluster supports. Possible values are ipv4 and dualstack.
    ///   - kmsKeyId: The Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
    ///   - maintenanceTrackName: The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
    ///   - manageMasterPassword: If true, Amazon Redshift uses Secrets Manager to manage this cluster's admin credentials.  You can't use MasterUserPassword if ManageMasterPassword is true.  If ManageMasterPassword is false or not set, Amazon Redshift uses  MasterUserPassword for the admin user account's password.
    ///   - manualSnapshotRetentionPeriod: The default for number of days that a newly created manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. This value doesn't retroactively change the retention periods of existing manual snapshots. The value must be either -1 or an integer between 1 and 3,653. The default value is -1.
    ///   - masterPasswordSecretKmsKeyId: The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.  You can only use this parameter if ManageMasterPassword is true.
    ///   - masterUserPassword: The new password for the cluster admin user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response.  You can't use MasterUserPassword if ManageMasterPassword is true.  Operations never return the password, so this operation provides a way to regain access to the admin user account for a cluster if the password is lost.  Default: Uses existing setting. Constraints:   Must be between 8 and 64 characters in length.   Must contain at least one uppercase letter.   Must contain at least one lowercase letter.   Must contain one number.   Can be any printable ASCII character (ASCII code 33-126) except ' (single quote), " (double quote), \, /, or @.
    ///   - multiAZ: If true and the cluster is currently only deployed in a single Availability Zone, the cluster will be modified to be deployed in two Availability Zones.
    ///   - newClusterIdentifier: The new identifier for the cluster. Constraints:   Must contain from 1 to 63 alphanumeric characters or hyphens.   Alphabetic characters must be lowercase.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique for all clusters within an Amazon Web Services account.   Example: examplecluster
    ///   - nodeType: The new node type of the cluster. If you specify a new node type, you must also specify the number of nodes parameter.
    ///   - numberOfNodes: The new number of nodes of the cluster. If you specify a new number of nodes, you must also specify the node type parameter.
    ///   - port: The option to change the port of an Amazon Redshift cluster. Valid Values:    For clusters with ra3 nodes - Select a port within the ranges 5431-5455 or 8191-8215. (If you have an existing cluster  with ra3 nodes, it isn't required that you change the port to these ranges.)   For clusters with dc2 nodes - Select a port within the range 1150-65535.
    ///   - preferredMaintenanceWindow: The weekly time range (in UTC) during which system maintenance can occur, if necessary. If system maintenance is necessary during the window, it may result in an outage. This maintenance window change is made immediately. If the new maintenance window indicates the current time, there must be at least 120 minutes between the current time and end of the window in order to ensure that pending changes are applied. Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi, for example wed:07:30-wed:08:00. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Must be at least 30 minutes.
    ///   - publiclyAccessible: If true, the cluster can be accessed from a public network. Only clusters in VPCs can be set to be publicly available. Default: false
    ///   - vpcSecurityGroupIds: A list of virtual private cloud (VPC) security groups to be associated with the cluster. This change is asynchronously applied as soon as possible.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyCluster(
        allowVersionUpgrade: Bool? = nil,
        automatedSnapshotRetentionPeriod: Int? = nil,
        availabilityZone: String? = nil,
        availabilityZoneRelocation: Bool? = nil,
        clusterIdentifier: String? = nil,
        clusterParameterGroupName: String? = nil,
        clusterSecurityGroups: [String]? = nil,
        clusterType: String? = nil,
        clusterVersion: String? = nil,
        elasticIp: String? = nil,
        encrypted: Bool? = nil,
        enhancedVpcRouting: Bool? = nil,
        hsmClientCertificateIdentifier: String? = nil,
        hsmConfigurationIdentifier: String? = nil,
        ipAddressType: String? = nil,
        kmsKeyId: String? = nil,
        maintenanceTrackName: String? = nil,
        manageMasterPassword: Bool? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        masterPasswordSecretKmsKeyId: String? = nil,
        masterUserPassword: String? = nil,
        multiAZ: Bool? = nil,
        newClusterIdentifier: String? = nil,
        nodeType: String? = nil,
        numberOfNodes: Int? = nil,
        port: Int? = nil,
        preferredMaintenanceWindow: String? = nil,
        publiclyAccessible: Bool? = nil,
        vpcSecurityGroupIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterResult {
        let input = ModifyClusterMessage(
            allowVersionUpgrade: allowVersionUpgrade, 
            automatedSnapshotRetentionPeriod: automatedSnapshotRetentionPeriod, 
            availabilityZone: availabilityZone, 
            availabilityZoneRelocation: availabilityZoneRelocation, 
            clusterIdentifier: clusterIdentifier, 
            clusterParameterGroupName: clusterParameterGroupName, 
            clusterSecurityGroups: clusterSecurityGroups, 
            clusterType: clusterType, 
            clusterVersion: clusterVersion, 
            elasticIp: elasticIp, 
            encrypted: encrypted, 
            enhancedVpcRouting: enhancedVpcRouting, 
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            ipAddressType: ipAddressType, 
            kmsKeyId: kmsKeyId, 
            maintenanceTrackName: maintenanceTrackName, 
            manageMasterPassword: manageMasterPassword, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            masterPasswordSecretKmsKeyId: masterPasswordSecretKmsKeyId, 
            masterUserPassword: masterUserPassword, 
            multiAZ: multiAZ, 
            newClusterIdentifier: newClusterIdentifier, 
            nodeType: nodeType, 
            numberOfNodes: numberOfNodes, 
            port: port, 
            preferredMaintenanceWindow: preferredMaintenanceWindow, 
            publiclyAccessible: publiclyAccessible, 
            vpcSecurityGroupIds: vpcSecurityGroupIds
        )
        return try await self.modifyCluster(input, logger: logger)
    }

    /// Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
    @Sendable
    @inlinable
    public func modifyClusterDbRevision(_ input: ModifyClusterDbRevisionMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterDbRevisionResult {
        try await self.client.execute(
            operation: "ModifyClusterDbRevision", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the database revision of a cluster. The database revision is a unique revision of the database running in a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose database revision you want to modify.  Example: examplecluster
    ///   - revisionTarget: The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterDbRevision(
        clusterIdentifier: String? = nil,
        revisionTarget: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterDbRevisionResult {
        let input = ModifyClusterDbRevisionMessage(
            clusterIdentifier: clusterIdentifier, 
            revisionTarget: revisionTarget
        )
        return try await self.modifyClusterDbRevision(input, logger: logger)
    }

    /// Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func modifyClusterIamRoles(_ input: ModifyClusterIamRolesMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterIamRolesResult {
        try await self.client.execute(
            operation: "ModifyClusterIamRoles", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - addIamRoles: Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
    ///   - clusterIdentifier: The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
    ///   - defaultIamRoleArn: The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
    ///   - removeIamRoles: Zero or more IAM roles in ARN format to disassociate from the cluster.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterIamRoles(
        addIamRoles: [String]? = nil,
        clusterIdentifier: String? = nil,
        defaultIamRoleArn: String? = nil,
        removeIamRoles: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterIamRolesResult {
        let input = ModifyClusterIamRolesMessage(
            addIamRoles: addIamRoles, 
            clusterIdentifier: clusterIdentifier, 
            defaultIamRoleArn: defaultIamRoleArn, 
            removeIamRoles: removeIamRoles
        )
        return try await self.modifyClusterIamRoles(input, logger: logger)
    }

    /// Modifies the maintenance settings of a cluster.
    @Sendable
    @inlinable
    public func modifyClusterMaintenance(_ input: ModifyClusterMaintenanceMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterMaintenanceResult {
        try await self.client.execute(
            operation: "ModifyClusterMaintenance", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the maintenance settings of a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: A unique identifier for the cluster.
    ///   - deferMaintenance: A boolean indicating whether to enable the deferred maintenance window.
    ///   - deferMaintenanceDuration: An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less.
    ///   - deferMaintenanceEndTime: A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
    ///   - deferMaintenanceIdentifier: A unique identifier for the deferred maintenance window.
    ///   - deferMaintenanceStartTime: A timestamp indicating the start time for the deferred maintenance window.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterMaintenance(
        clusterIdentifier: String? = nil,
        deferMaintenance: Bool? = nil,
        deferMaintenanceDuration: Int? = nil,
        deferMaintenanceEndTime: Date? = nil,
        deferMaintenanceIdentifier: String? = nil,
        deferMaintenanceStartTime: Date? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterMaintenanceResult {
        let input = ModifyClusterMaintenanceMessage(
            clusterIdentifier: clusterIdentifier, 
            deferMaintenance: deferMaintenance, 
            deferMaintenanceDuration: deferMaintenanceDuration, 
            deferMaintenanceEndTime: deferMaintenanceEndTime, 
            deferMaintenanceIdentifier: deferMaintenanceIdentifier, 
            deferMaintenanceStartTime: deferMaintenanceStartTime
        )
        return try await self.modifyClusterMaintenance(input, logger: logger)
    }

    /// Modifies the parameters of a parameter group. For the parameters parameter, it can't contain ASCII characters.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func modifyClusterParameterGroup(_ input: ModifyClusterParameterGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterParameterGroupNameMessage {
        try await self.client.execute(
            operation: "ModifyClusterParameterGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the parameters of a parameter group. For the parameters parameter, it can't contain ASCII characters.
    /// For more information about parameters and parameter groups, go to
    /// Amazon Redshift Parameter Groups
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - parameterGroupName: The name of the parameter group to be modified.
    ///   - parameters: An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional. For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterParameterGroup(
        parameterGroupName: String? = nil,
        parameters: [Parameter]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterParameterGroupNameMessage {
        let input = ModifyClusterParameterGroupMessage(
            parameterGroupName: parameterGroupName, 
            parameters: parameters
        )
        return try await self.modifyClusterParameterGroup(input, logger: logger)
    }

    /// Modifies the settings for a snapshot. This exanmple modifies the manual retention period setting for a cluster snapshot.
    @Sendable
    @inlinable
    public func modifyClusterSnapshot(_ input: ModifyClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterSnapshotResult {
        try await self.client.execute(
            operation: "ModifyClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the settings for a snapshot. This exanmple modifies the manual retention period setting for a cluster snapshot.
    ///
    /// Parameters:
    ///   - force: A Boolean option to override an exception if the retention period has already passed.
    ///   - manualSnapshotRetentionPeriod: The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot. The value must be either -1 or an integer between 1 and 3,653.
    ///   - snapshotIdentifier: The identifier of the snapshot whose setting you want to modify.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterSnapshot(
        force: Bool? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterSnapshotResult {
        let input = ModifyClusterSnapshotMessage(
            force: force, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.modifyClusterSnapshot(input, logger: logger)
    }

    /// Modifies a snapshot schedule for a cluster.
    @Sendable
    @inlinable
    public func modifyClusterSnapshotSchedule(_ input: ModifyClusterSnapshotScheduleMessage, logger: Logger = AWSClient.loggingDisabled) async throws {
        try await self.client.execute(
            operation: "ModifyClusterSnapshotSchedule", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a snapshot schedule for a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: A unique identifier for the cluster whose snapshot schedule you want to modify.
    ///   - disassociateSchedule: A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
    ///   - scheduleIdentifier: A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterSnapshotSchedule(
        clusterIdentifier: String? = nil,
        disassociateSchedule: Bool? = nil,
        scheduleIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = ModifyClusterSnapshotScheduleMessage(
            clusterIdentifier: clusterIdentifier, 
            disassociateSchedule: disassociateSchedule, 
            scheduleIdentifier: scheduleIdentifier
        )
        return try await self.modifyClusterSnapshotSchedule(input, logger: logger)
    }

    /// Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    @Sendable
    @inlinable
    public func modifyClusterSubnetGroup(_ input: ModifyClusterSubnetGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyClusterSubnetGroupResult {
        try await self.client.execute(
            operation: "ModifyClusterSubnetGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    ///
    /// Parameters:
    ///   - clusterSubnetGroupName: The name of the subnet group to be modified.
    ///   - description: A text description of the subnet group to be modified.
    ///   - subnetIds: An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyClusterSubnetGroup(
        clusterSubnetGroupName: String? = nil,
        description: String? = nil,
        subnetIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyClusterSubnetGroupResult {
        let input = ModifyClusterSubnetGroupMessage(
            clusterSubnetGroupName: clusterSubnetGroupName, 
            description: description, 
            subnetIds: subnetIds
        )
        return try await self.modifyClusterSubnetGroup(input, logger: logger)
    }

    /// Contains information for changing a custom domain association.
    @Sendable
    @inlinable
    public func modifyCustomDomainAssociation(_ input: ModifyCustomDomainAssociationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyCustomDomainAssociationResult {
        try await self.client.execute(
            operation: "ModifyCustomDomainAssociation", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Contains information for changing a custom domain association.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster to change a custom domain association for.
    ///   - customDomainCertificateArn: The certificate Amazon Resource Name (ARN) for the changed custom domain association.
    ///   - customDomainName: The custom domain name for a changed custom domain association.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyCustomDomainAssociation(
        clusterIdentifier: String? = nil,
        customDomainCertificateArn: String? = nil,
        customDomainName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyCustomDomainAssociationResult {
        let input = ModifyCustomDomainAssociationMessage(
            clusterIdentifier: clusterIdentifier, 
            customDomainCertificateArn: customDomainCertificateArn, 
            customDomainName: customDomainName
        )
        return try await self.modifyCustomDomainAssociation(input, logger: logger)
    }

    /// Modifies a Redshift-managed VPC endpoint.
    @Sendable
    @inlinable
    public func modifyEndpointAccess(_ input: ModifyEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAccess {
        try await self.client.execute(
            operation: "ModifyEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a Redshift-managed VPC endpoint.
    ///
    /// Parameters:
    ///   - endpointName: The endpoint to be modified.
    ///   - vpcSecurityGroupIds: The complete list of VPC security groups associated with the endpoint after the endpoint is modified.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyEndpointAccess(
        endpointName: String? = nil,
        vpcSecurityGroupIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAccess {
        let input = ModifyEndpointAccessMessage(
            endpointName: endpointName, 
            vpcSecurityGroupIds: vpcSecurityGroupIds
        )
        return try await self.modifyEndpointAccess(input, logger: logger)
    }

    /// Modifies an existing Amazon Redshift event notification subscription.
    @Sendable
    @inlinable
    public func modifyEventSubscription(_ input: ModifyEventSubscriptionMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyEventSubscriptionResult {
        try await self.client.execute(
            operation: "ModifyEventSubscription", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies an existing Amazon Redshift event notification subscription.
    ///
    /// Parameters:
    ///   - enabled: A Boolean value indicating if the subscription is enabled. true indicates the subscription is enabled
    ///   - eventCategories: Specifies the Amazon Redshift event categories to be published by the event notification subscription. Values: configuration, management, monitoring, security, pending
    ///   - severity: Specifies the Amazon Redshift event severity to be published by the event notification subscription. Values: ERROR, INFO
    ///   - snsTopicArn: The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.
    ///   - sourceIds: A list of one or more identifiers of Amazon Redshift source objects. All of the objects must be of the same type as was specified in the source type parameter. The event subscription will return only events generated by the specified objects. If not specified, then events are returned for all objects within the source type specified. Example: my-cluster-1, my-cluster-2 Example: my-snapshot-20131010
    ///   - sourceType: The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your Amazon Web Services account. You must specify a source type in order to specify source IDs. Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.
    ///   - subscriptionName: The name of the modified Amazon Redshift event notification subscription.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyEventSubscription(
        enabled: Bool? = nil,
        eventCategories: [String]? = nil,
        severity: String? = nil,
        snsTopicArn: String? = nil,
        sourceIds: [String]? = nil,
        sourceType: String? = nil,
        subscriptionName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyEventSubscriptionResult {
        let input = ModifyEventSubscriptionMessage(
            enabled: enabled, 
            eventCategories: eventCategories, 
            severity: severity, 
            snsTopicArn: snsTopicArn, 
            sourceIds: sourceIds, 
            sourceType: sourceType, 
            subscriptionName: subscriptionName
        )
        return try await self.modifyEventSubscription(input, logger: logger)
    }

    /// Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.
    @Sendable
    @inlinable
    public func modifyIntegration(_ input: ModifyIntegrationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> Integration {
        try await self.client.execute(
            operation: "ModifyIntegration", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a zero-ETL integration or S3 event integration with Amazon Redshift.
    ///
    /// Parameters:
    ///   - description: A new description for the integration.
    ///   - integrationArn: The unique identifier of the integration to modify.
    ///   - integrationName: A new name for the integration.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyIntegration(
        description: String? = nil,
        integrationArn: String? = nil,
        integrationName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> Integration {
        let input = ModifyIntegrationMessage(
            description: description, 
            integrationArn: integrationArn, 
            integrationName: integrationName
        )
        return try await self.modifyIntegration(input, logger: logger)
    }

    /// Changes an existing Amazon Redshift IAM Identity Center application.
    @Sendable
    @inlinable
    public func modifyRedshiftIdcApplication(_ input: ModifyRedshiftIdcApplicationMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifyRedshiftIdcApplicationResult {
        try await self.client.execute(
            operation: "ModifyRedshiftIdcApplication", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Changes an existing Amazon Redshift IAM Identity Center application.
    ///
    /// Parameters:
    ///   - authorizedTokenIssuerList: The authorized token issuer list for the Amazon Redshift IAM Identity Center application to change.
    ///   - iamRoleArn: The IAM role ARN associated with the Amazon Redshift IAM Identity Center application to change. It has the required permissions  to be assumed and invoke the IDC Identity Center API.
    ///   - idcDisplayName: The display name for the Amazon Redshift IAM Identity Center application to change. It appears on the console.
    ///   - identityNamespace: The namespace for the Amazon Redshift IAM Identity Center application to change. It determines which managed application  verifies the connection token.
    ///   - redshiftIdcApplicationArn: The ARN for the Redshift application that integrates with IAM Identity Center.
    ///   - serviceIntegrations: A collection of service integrations associated with the application.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyRedshiftIdcApplication(
        authorizedTokenIssuerList: [AuthorizedTokenIssuer]? = nil,
        iamRoleArn: String? = nil,
        idcDisplayName: String? = nil,
        identityNamespace: String? = nil,
        redshiftIdcApplicationArn: String? = nil,
        serviceIntegrations: [ServiceIntegrationsUnion]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifyRedshiftIdcApplicationResult {
        let input = ModifyRedshiftIdcApplicationMessage(
            authorizedTokenIssuerList: authorizedTokenIssuerList, 
            iamRoleArn: iamRoleArn, 
            idcDisplayName: idcDisplayName, 
            identityNamespace: identityNamespace, 
            redshiftIdcApplicationArn: redshiftIdcApplicationArn, 
            serviceIntegrations: serviceIntegrations
        )
        return try await self.modifyRedshiftIdcApplication(input, logger: logger)
    }

    /// Modifies a scheduled action.
    @Sendable
    @inlinable
    public func modifyScheduledAction(_ input: ModifyScheduledActionMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ScheduledAction {
        try await self.client.execute(
            operation: "ModifyScheduledAction", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a scheduled action.
    ///
    /// Parameters:
    ///   - enable: A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
    ///   - endTime: A modified end time of the scheduled action.  For more information about this parameter, see ScheduledAction.
    ///   - iamRole: A different IAM role to assume to run the target action.  For more information about this parameter, see ScheduledAction.
    ///   - schedule: A modified schedule in either at( ) or cron( ) format.  For more information about this parameter, see ScheduledAction.
    ///   - scheduledActionDescription: A modified description of the scheduled action.
    ///   - scheduledActionName: The name of the scheduled action to modify.
    ///   - startTime: A modified start time of the scheduled action.  For more information about this parameter, see ScheduledAction.
    ///   - targetAction: A modified JSON format of the scheduled action.  For more information about this parameter, see ScheduledAction.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyScheduledAction(
        enable: Bool? = nil,
        endTime: Date? = nil,
        iamRole: String? = nil,
        schedule: String? = nil,
        scheduledActionDescription: String? = nil,
        scheduledActionName: String? = nil,
        startTime: Date? = nil,
        targetAction: ScheduledActionType? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ScheduledAction {
        let input = ModifyScheduledActionMessage(
            enable: enable, 
            endTime: endTime, 
            iamRole: iamRole, 
            schedule: schedule, 
            scheduledActionDescription: scheduledActionDescription, 
            scheduledActionName: scheduledActionName, 
            startTime: startTime, 
            targetAction: targetAction
        )
        return try await self.modifyScheduledAction(input, logger: logger)
    }

    /// Modifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.
    @Sendable
    @inlinable
    public func modifySnapshotCopyRetentionPeriod(_ input: ModifySnapshotCopyRetentionPeriodMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ModifySnapshotCopyRetentionPeriodResult {
        try await self.client.execute(
            operation: "ModifySnapshotCopyRetentionPeriod", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies the number of days to retain snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the cluster for which you want to change the retention period for either automated or manual snapshots that are copied to a destination Amazon Web Services Region. Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.
    ///   - manual: Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
    ///   - retentionPeriod: The number of days to retain automated snapshots in the destination Amazon Web Services Region after they are copied from the source Amazon Web Services Region. By default, this only changes the retention period of copied automated snapshots.  If you decrease the retention period for automated snapshots that are copied to a destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were copied to the destination Amazon Web Services Region and that fall outside of the new retention period. Constraints: Must be at least 1 and no more than 35 for automated snapshots.  If you specify the manual option, only newly copied manual snapshots will have the new retention period.  If you specify the value of -1 newly copied manual snapshots are retained indefinitely. Constraints: The number of days must be either -1 or an integer between 1 and 3,653 for manual snapshots.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifySnapshotCopyRetentionPeriod(
        clusterIdentifier: String? = nil,
        manual: Bool? = nil,
        retentionPeriod: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ModifySnapshotCopyRetentionPeriodResult {
        let input = ModifySnapshotCopyRetentionPeriodMessage(
            clusterIdentifier: clusterIdentifier, 
            manual: manual, 
            retentionPeriod: retentionPeriod
        )
        return try await self.modifySnapshotCopyRetentionPeriod(input, logger: logger)
    }

    /// Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
    @Sendable
    @inlinable
    public func modifySnapshotSchedule(_ input: ModifySnapshotScheduleMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> SnapshotSchedule {
        try await self.client.execute(
            operation: "ModifySnapshotSchedule", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
    ///
    /// Parameters:
    ///   - scheduleDefinitions: An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
    ///   - scheduleIdentifier: A unique alphanumeric identifier of the schedule to modify.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifySnapshotSchedule(
        scheduleDefinitions: [String]? = nil,
        scheduleIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> SnapshotSchedule {
        let input = ModifySnapshotScheduleMessage(
            scheduleDefinitions: scheduleDefinitions, 
            scheduleIdentifier: scheduleIdentifier
        )
        return try await self.modifySnapshotSchedule(input, logger: logger)
    }

    /// Modifies a usage limit in a cluster.  You can't modify the feature type or period of a usage limit.
    @Sendable
    @inlinable
    public func modifyUsageLimit(_ input: ModifyUsageLimitMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> UsageLimit {
        try await self.client.execute(
            operation: "ModifyUsageLimit", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Modifies a usage limit in a cluster.  You can't modify the feature type or period of a usage limit.
    ///
    /// Parameters:
    ///   - amount: The new limit amount.  For more information about this parameter, see UsageLimit.
    ///   - breachAction: The new action that Amazon Redshift takes when the limit is reached.  For more information about this parameter, see UsageLimit.
    ///   - usageLimitId: The identifier of the usage limit to modify.
    ///   - logger: Logger use during operation
    @inlinable
    public func modifyUsageLimit(
        amount: Int64? = nil,
        breachAction: UsageLimitBreachAction? = nil,
        usageLimitId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> UsageLimit {
        let input = ModifyUsageLimitMessage(
            amount: amount, 
            breachAction: breachAction, 
            usageLimitId: usageLimitId
        )
        return try await self.modifyUsageLimit(input, logger: logger)
    }

    /// Pauses a cluster.
    @Sendable
    @inlinable
    public func pauseCluster(_ input: PauseClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PauseClusterResult {
        try await self.client.execute(
            operation: "PauseCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Pauses a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster to be paused.
    ///   - logger: Logger use during operation
    @inlinable
    public func pauseCluster(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PauseClusterResult {
        let input = PauseClusterMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.pauseCluster(input, logger: logger)
    }

    /// Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.
    /// For more information about reserved node offerings, go to
    /// Purchasing Reserved Nodes
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func purchaseReservedNodeOffering(_ input: PurchaseReservedNodeOfferingMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PurchaseReservedNodeOfferingResult {
        try await self.client.execute(
            operation: "PurchaseReservedNodeOffering", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.
    /// For more information about reserved node offerings, go to
    /// Purchasing Reserved Nodes
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - nodeCount: The number of reserved nodes that you want to purchase. Default: 1
    ///   - reservedNodeOfferingId: The unique identifier of the reserved node offering you want to purchase.
    ///   - logger: Logger use during operation
    @inlinable
    public func purchaseReservedNodeOffering(
        nodeCount: Int? = nil,
        reservedNodeOfferingId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PurchaseReservedNodeOfferingResult {
        let input = PurchaseReservedNodeOfferingMessage(
            nodeCount: nodeCount, 
            reservedNodeOfferingId: reservedNodeOfferingId
        )
        return try await self.purchaseReservedNodeOffering(input, logger: logger)
    }

    /// Updates the resource policy for a specified resource.
    @Sendable
    @inlinable
    public func putResourcePolicy(_ input: PutResourcePolicyMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PutResourcePolicyResult {
        try await self.client.execute(
            operation: "PutResourcePolicy", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Updates the resource policy for a specified resource.
    ///
    /// Parameters:
    ///   - policy: The content of the resource policy being updated.
    ///   - resourceArn: The Amazon Resource Name (ARN) of the resource of which its resource policy is updated.
    ///   - logger: Logger use during operation
    @inlinable
    public func putResourcePolicy(
        policy: String? = nil,
        resourceArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PutResourcePolicyResult {
        let input = PutResourcePolicyMessage(
            policy: policy, 
            resourceArn: resourceArn
        )
        return try await self.putResourcePolicy(input, logger: logger)
    }

    /// Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func rebootCluster(_ input: RebootClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RebootClusterResult {
        try await self.client.execute(
            operation: "RebootCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot.
    /// For more information about managing clusters, go to
    /// Amazon Redshift Clusters
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The cluster identifier.
    ///   - logger: Logger use during operation
    @inlinable
    public func rebootCluster(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RebootClusterResult {
        let input = RebootClusterMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.rebootCluster(input, logger: logger)
    }

    /// Registers a cluster or serverless namespace to the Amazon Web Services Glue Data Catalog.
    @Sendable
    @inlinable
    public func registerNamespace(_ input: RegisterNamespaceInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RegisterNamespaceOutputMessage {
        try await self.client.execute(
            operation: "RegisterNamespace", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Registers a cluster or serverless namespace to the Amazon Web Services Glue Data Catalog.
    ///
    /// Parameters:
    ///   - consumerIdentifiers: An array containing the ID of the consumer account  that you want to register the namespace to.
    ///   - namespaceIdentifier: The unique identifier of the cluster or  serverless namespace that you want to register.
    ///   - logger: Logger use during operation
    @inlinable
    public func registerNamespace(
        consumerIdentifiers: [String]? = nil,
        namespaceIdentifier: NamespaceIdentifierUnion? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RegisterNamespaceOutputMessage {
        let input = RegisterNamespaceInputMessage(
            consumerIdentifiers: consumerIdentifiers, 
            namespaceIdentifier: namespaceIdentifier
        )
        return try await self.registerNamespace(input, logger: logger)
    }

    /// From a datashare consumer account, rejects the specified datashare.
    @Sendable
    @inlinable
    public func rejectDataShare(_ input: RejectDataShareMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> DataShare {
        try await self.client.execute(
            operation: "RejectDataShare", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// From a datashare consumer account, rejects the specified datashare.
    ///
    /// Parameters:
    ///   - dataShareArn: The Amazon Resource Name (ARN) of the datashare to reject.
    ///   - logger: Logger use during operation
    @inlinable
    public func rejectDataShare(
        dataShareArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> DataShare {
        let input = RejectDataShareMessage(
            dataShareArn: dataShareArn
        )
        return try await self.rejectDataShare(input, logger: logger)
    }

    /// Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
    @Sendable
    @inlinable
    public func resetClusterParameterGroup(_ input: ResetClusterParameterGroupMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ClusterParameterGroupNameMessage {
        try await self.client.execute(
            operation: "ResetClusterParameterGroup", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
    ///
    /// Parameters:
    ///   - parameterGroupName: The name of the cluster parameter group to be reset.
    ///   - parameters: An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.  Constraints: A maximum of 20 parameters can be reset in a single request.
    ///   - resetAllParameters: If true, all parameters in the specified parameter group will be reset to their default values.  Default: true
    ///   - logger: Logger use during operation
    @inlinable
    public func resetClusterParameterGroup(
        parameterGroupName: String? = nil,
        parameters: [Parameter]? = nil,
        resetAllParameters: Bool? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ClusterParameterGroupNameMessage {
        let input = ResetClusterParameterGroupMessage(
            parameterGroupName: parameterGroupName, 
            parameters: parameters, 
            resetAllParameters: resetAllParameters
        )
        return try await self.resetClusterParameterGroup(input, logger: logger)
    }

    /// Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.  Elastic resize operations have the following restrictions:   You can only resize clusters of the following types:   dc2.large   dc2.8xlarge   ra3.large   ra3.xlplus   ra3.4xlarge   ra3.16xlarge     The type of nodes that you add must match the node type for the cluster.
    @Sendable
    @inlinable
    public func resizeCluster(_ input: ResizeClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ResizeClusterResult {
        try await self.client.execute(
            operation: "ResizeCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.  Elastic resize operations have the following restrictions:   You can only resize clusters of the following types:   dc2.large   dc2.8xlarge   ra3.large   ra3.xlplus   ra3.4xlarge   ra3.16xlarge     The type of nodes that you add must match the node type for the cluster.
    ///
    /// Parameters:
    ///   - classic: A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false, the resize type is elastic.
    ///   - clusterIdentifier: The unique identifier for the cluster to resize.
    ///   - clusterType: The new cluster type for the specified cluster.
    ///   - nodeType: The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
    ///   - numberOfNodes: The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
    ///   - reservedNodeId: The identifier of the reserved node.
    ///   - targetReservedNodeOfferingId: The identifier of the target reserved node offering.
    ///   - logger: Logger use during operation
    @inlinable
    public func resizeCluster(
        classic: Bool? = nil,
        clusterIdentifier: String? = nil,
        clusterType: String? = nil,
        nodeType: String? = nil,
        numberOfNodes: Int? = nil,
        reservedNodeId: String? = nil,
        targetReservedNodeOfferingId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ResizeClusterResult {
        let input = ResizeClusterMessage(
            classic: classic, 
            clusterIdentifier: clusterIdentifier, 
            clusterType: clusterType, 
            nodeType: nodeType, 
            numberOfNodes: numberOfNodes, 
            reservedNodeId: reservedNodeId, 
            targetReservedNodeOfferingId: targetReservedNodeOfferingId
        )
        return try await self.resizeCluster(input, logger: logger)
    }

    /// Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore. If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func restoreFromClusterSnapshot(_ input: RestoreFromClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RestoreFromClusterSnapshotResult {
        try await self.client.execute(
            operation: "RestoreFromClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore. If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored. VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a subnet group for a provisioned cluster is in an account with VPC BPA turned on, the following capabilities are blocked:   Creating a public cluster   Restoring a public cluster   Modifying a private cluster to be public   Adding a subnet with VPC BPA turned on to the subnet group when there's at least one public cluster within the group   For more information about VPC BPA, see Block public access to VPCs and subnets in the Amazon VPC User Guide.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - additionalInfo: Reserved.
    ///   - allowVersionUpgrade: If true, major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster.  Default: true
    ///   - aquaConfigurationStatus: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
    ///   - automatedSnapshotRetentionPeriod: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with CreateClusterSnapshot.  You can't disable automated snapshots for RA3 node types. Set the automated retention period from 1-35 days. Default: The value selected for the cluster from which the snapshot was taken. Constraints: Must be a value from 0 to 35.
    ///   - availabilityZone: The Amazon EC2 Availability Zone in which to restore the cluster. Default: A random, system-chosen Availability Zone. Example: us-east-2a
    ///   - availabilityZoneRelocation: The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster is restored.
    ///   - clusterIdentifier: The identifier of the cluster that will be created from restoring the snapshot. Constraints:   Must contain from 1 to 63 alphanumeric characters or hyphens.   Alphabetic characters must be lowercase.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.   Must be unique for all clusters within an Amazon Web Services account.
    ///   - clusterParameterGroupName: The name of the parameter group to be associated with this cluster. Default: The default Amazon Redshift cluster parameter group. For information about the default parameter group, go to Working with Amazon Redshift Parameter Groups. Constraints:   Must be 1 to 255 alphanumeric characters or hyphens.   First character must be a letter.   Cannot end with a hyphen or contain two consecutive hyphens.
    ///   - clusterSecurityGroups: A list of security groups to be associated with this cluster. Default: The default cluster security group for Amazon Redshift. Cluster security groups only apply to clusters outside of VPCs.
    ///   - clusterSubnetGroupName: The name of the subnet group where you want to cluster restored. A snapshot of cluster in VPC can be restored only in VPC. Therefore, you must provide subnet group name where you want the cluster restored.
    ///   - defaultIamRoleArn: The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified while it was restored from a snapshot.
    ///   - elasticIp: The Elastic IP (EIP) address for the cluster. Don't specify the Elastic IP address for a publicly  accessible cluster with availability zone relocation turned on.
    ///   - encrypted: Enables support for restoring an unencrypted snapshot to a cluster encrypted  with Key Management Service (KMS) and a customer managed key.
    ///   - enhancedVpcRouting: An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. If this option is true, enhanced VPC routing is enabled.  Default: false
    ///   - hsmClientCertificateIdentifier: Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM.
    ///   - hsmConfigurationIdentifier: Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
    ///   - iamRoles: A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon Resource Name (ARN) format.  The maximum number of IAM roles that you can associate is subject to a quota. For more information, go to Quotas and limits in the Amazon Redshift Cluster Management Guide.
    ///   - ipAddressType: The IP address type for the cluster. Possible values are ipv4 and dualstack.
    ///   - kmsKeyId: The Key Management Service (KMS) key ID of the encryption key that encrypts data in the cluster  restored from a shared snapshot. You can also provide  the key ID when you restore from an unencrypted snapshot to an encrypted cluster in  the same account. Additionally, you can specify a new KMS key ID when you restore from an encrypted  snapshot in the same account in order to change it. In that case, the restored cluster is encrypted  with the new KMS key ID.
    ///   - maintenanceTrackName: The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks.
    ///   - manageMasterPassword: If true, Amazon Redshift uses Secrets Manager to manage the restored  cluster's admin credentials. If ManageMasterPassword is false or not set,  Amazon Redshift uses the admin credentials the cluster had at the time the snapshot was taken.
    ///   - manualSnapshotRetentionPeriod: The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. The value must be either -1 or an integer between 1 and 3,653.
    ///   - masterPasswordSecretKmsKeyId: The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.  You can only use this parameter if ManageMasterPassword is true.
    ///   - multiAZ: If true, the snapshot will be restored to a cluster deployed in two Availability Zones.
    ///   - nodeType: The node type that the restored cluster will be provisioned with. If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc2.large node type into another dc2 type. For more information about node types, see   About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
    ///   - numberOfNodes: The number of nodes specified when provisioning the restored cluster.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
    ///   - port: The port number on which the cluster accepts connections. Default: The same port as the original cluster. Valid values: For clusters with DC2 nodes, must be within the range 1150-65535. For clusters with ra3 nodes, must be  within the ranges 5431-5455 or 8191-8215.
    ///   - preferredMaintenanceWindow: The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi  Default: The value selected for the cluster from which the snapshot was taken. For more information about the time blocks for each region, see Maintenance Windows in Amazon Redshift Cluster Management Guide.  Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window.
    ///   - publiclyAccessible: If true, the cluster can be accessed from a public network.  Default: false
    ///   - reservedNodeId: The identifier of the target reserved node offering.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You must specify this parameter or snapshotIdentifier, but not both.
    ///   - snapshotClusterIdentifier: The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
    ///   - snapshotIdentifier: The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. You must specify this parameter or snapshotArn, but not both. Example: my-snapshot-id
    ///   - snapshotScheduleIdentifier: A unique identifier for the snapshot schedule.
    ///   - targetReservedNodeOfferingId: The identifier of the target reserved node offering.
    ///   - vpcSecurityGroupIds: A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. Default: The default VPC security group is associated with the cluster. VPC security groups only apply to clusters in VPCs.
    ///   - logger: Logger use during operation
    @inlinable
    public func restoreFromClusterSnapshot(
        additionalInfo: String? = nil,
        allowVersionUpgrade: Bool? = nil,
        aquaConfigurationStatus: AquaConfigurationStatus? = nil,
        automatedSnapshotRetentionPeriod: Int? = nil,
        availabilityZone: String? = nil,
        availabilityZoneRelocation: Bool? = nil,
        clusterIdentifier: String? = nil,
        clusterParameterGroupName: String? = nil,
        clusterSecurityGroups: [String]? = nil,
        clusterSubnetGroupName: String? = nil,
        defaultIamRoleArn: String? = nil,
        elasticIp: String? = nil,
        encrypted: Bool? = nil,
        enhancedVpcRouting: Bool? = nil,
        hsmClientCertificateIdentifier: String? = nil,
        hsmConfigurationIdentifier: String? = nil,
        iamRoles: [String]? = nil,
        ipAddressType: String? = nil,
        kmsKeyId: String? = nil,
        maintenanceTrackName: String? = nil,
        manageMasterPassword: Bool? = nil,
        manualSnapshotRetentionPeriod: Int? = nil,
        masterPasswordSecretKmsKeyId: String? = nil,
        multiAZ: Bool? = nil,
        nodeType: String? = nil,
        numberOfNodes: Int? = nil,
        ownerAccount: String? = nil,
        port: Int? = nil,
        preferredMaintenanceWindow: String? = nil,
        publiclyAccessible: Bool? = nil,
        reservedNodeId: String? = nil,
        snapshotArn: String? = nil,
        snapshotClusterIdentifier: String? = nil,
        snapshotIdentifier: String? = nil,
        snapshotScheduleIdentifier: String? = nil,
        targetReservedNodeOfferingId: String? = nil,
        vpcSecurityGroupIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RestoreFromClusterSnapshotResult {
        let input = RestoreFromClusterSnapshotMessage(
            additionalInfo: additionalInfo, 
            allowVersionUpgrade: allowVersionUpgrade, 
            aquaConfigurationStatus: aquaConfigurationStatus, 
            automatedSnapshotRetentionPeriod: automatedSnapshotRetentionPeriod, 
            availabilityZone: availabilityZone, 
            availabilityZoneRelocation: availabilityZoneRelocation, 
            clusterIdentifier: clusterIdentifier, 
            clusterParameterGroupName: clusterParameterGroupName, 
            clusterSecurityGroups: clusterSecurityGroups, 
            clusterSubnetGroupName: clusterSubnetGroupName, 
            defaultIamRoleArn: defaultIamRoleArn, 
            elasticIp: elasticIp, 
            encrypted: encrypted, 
            enhancedVpcRouting: enhancedVpcRouting, 
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            iamRoles: iamRoles, 
            ipAddressType: ipAddressType, 
            kmsKeyId: kmsKeyId, 
            maintenanceTrackName: maintenanceTrackName, 
            manageMasterPassword: manageMasterPassword, 
            manualSnapshotRetentionPeriod: manualSnapshotRetentionPeriod, 
            masterPasswordSecretKmsKeyId: masterPasswordSecretKmsKeyId, 
            multiAZ: multiAZ, 
            nodeType: nodeType, 
            numberOfNodes: numberOfNodes, 
            ownerAccount: ownerAccount, 
            port: port, 
            preferredMaintenanceWindow: preferredMaintenanceWindow, 
            publiclyAccessible: publiclyAccessible, 
            reservedNodeId: reservedNodeId, 
            snapshotArn: snapshotArn, 
            snapshotClusterIdentifier: snapshotClusterIdentifier, 
            snapshotIdentifier: snapshotIdentifier, 
            snapshotScheduleIdentifier: snapshotScheduleIdentifier, 
            targetReservedNodeOfferingId: targetReservedNodeOfferingId, 
            vpcSecurityGroupIds: vpcSecurityGroupIds
        )
        return try await self.restoreFromClusterSnapshot(input, logger: logger)
    }

    /// Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from. You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot. You can't use this operation to restore tables with  interleaved sort keys.
    @Sendable
    @inlinable
    public func restoreTableFromClusterSnapshot(_ input: RestoreTableFromClusterSnapshotMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RestoreTableFromClusterSnapshotResult {
        try await self.client.execute(
            operation: "RestoreTableFromClusterSnapshot", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from. You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot. You can't use this operation to restore tables with  interleaved sort keys.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the Amazon Redshift cluster to restore the table to.
    ///   - enableCaseSensitiveIdentifier: Indicates whether name identifiers for database, schema, and table are case sensitive.  If true, the names are case sensitive.  If false (default), the names are not case sensitive.
    ///   - newTableName: The name of the table to create as a result of the current request.
    ///   - snapshotIdentifier: The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.
    ///   - sourceDatabaseName: The name of the source database that contains the table to restore from.
    ///   - sourceSchemaName: The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.
    ///   - sourceTableName: The name of the source table to restore from.
    ///   - targetDatabaseName: The name of the database to restore the table to.
    ///   - targetSchemaName: The name of the schema to restore the table to.
    ///   - logger: Logger use during operation
    @inlinable
    public func restoreTableFromClusterSnapshot(
        clusterIdentifier: String? = nil,
        enableCaseSensitiveIdentifier: Bool? = nil,
        newTableName: String? = nil,
        snapshotIdentifier: String? = nil,
        sourceDatabaseName: String? = nil,
        sourceSchemaName: String? = nil,
        sourceTableName: String? = nil,
        targetDatabaseName: String? = nil,
        targetSchemaName: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RestoreTableFromClusterSnapshotResult {
        let input = RestoreTableFromClusterSnapshotMessage(
            clusterIdentifier: clusterIdentifier, 
            enableCaseSensitiveIdentifier: enableCaseSensitiveIdentifier, 
            newTableName: newTableName, 
            snapshotIdentifier: snapshotIdentifier, 
            sourceDatabaseName: sourceDatabaseName, 
            sourceSchemaName: sourceSchemaName, 
            sourceTableName: sourceTableName, 
            targetDatabaseName: targetDatabaseName, 
            targetSchemaName: targetSchemaName
        )
        return try await self.restoreTableFromClusterSnapshot(input, logger: logger)
    }

    /// Resumes a paused cluster.
    @Sendable
    @inlinable
    public func resumeCluster(_ input: ResumeClusterMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> ResumeClusterResult {
        try await self.client.execute(
            operation: "ResumeCluster", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Resumes a paused cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The identifier of the cluster to be resumed.
    ///   - logger: Logger use during operation
    @inlinable
    public func resumeCluster(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> ResumeClusterResult {
        let input = ResumeClusterMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.resumeCluster(input, logger: logger)
    }

    /// Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func revokeClusterSecurityGroupIngress(_ input: RevokeClusterSecurityGroupIngressMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RevokeClusterSecurityGroupIngressResult {
        try await self.client.execute(
            operation: "RevokeClusterSecurityGroupIngress", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress.
    /// For information about managing security groups, go to
    /// Amazon Redshift Cluster Security Groups in the
    /// Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - cidrip: The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
    ///   - clusterSecurityGroupName: The name of the security Group from which to revoke the ingress rule.
    ///   - ec2SecurityGroupName: The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.
    ///   - ec2SecurityGroupOwnerId: The Amazon Web Services account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The Amazon Web Services access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.  Example: 111122223333
    ///   - logger: Logger use during operation
    @inlinable
    public func revokeClusterSecurityGroupIngress(
        cidrip: String? = nil,
        clusterSecurityGroupName: String? = nil,
        ec2SecurityGroupName: String? = nil,
        ec2SecurityGroupOwnerId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RevokeClusterSecurityGroupIngressResult {
        let input = RevokeClusterSecurityGroupIngressMessage(
            cidrip: cidrip, 
            clusterSecurityGroupName: clusterSecurityGroupName, 
            ec2SecurityGroupName: ec2SecurityGroupName, 
            ec2SecurityGroupOwnerId: ec2SecurityGroupOwnerId
        )
        return try await self.revokeClusterSecurityGroupIngress(input, logger: logger)
    }

    /// Revokes access to a cluster.
    @Sendable
    @inlinable
    public func revokeEndpointAccess(_ input: RevokeEndpointAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> EndpointAuthorization {
        try await self.client.execute(
            operation: "RevokeEndpointAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Revokes access to a cluster.
    ///
    /// Parameters:
    ///   - account: The Amazon Web Services account ID whose access is to be revoked.
    ///   - clusterIdentifier: The cluster to revoke access from.
    ///   - force: Indicates whether to force the revoke action.  If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
    ///   - vpcIds: The virtual private cloud (VPC) identifiers for which access is to be revoked.
    ///   - logger: Logger use during operation
    @inlinable
    public func revokeEndpointAccess(
        account: String? = nil,
        clusterIdentifier: String? = nil,
        force: Bool? = nil,
        vpcIds: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> EndpointAuthorization {
        let input = RevokeEndpointAccessMessage(
            account: account, 
            clusterIdentifier: clusterIdentifier, 
            force: force, 
            vpcIds: vpcIds
        )
        return try await self.revokeEndpointAccess(input, logger: logger)
    }

    /// Removes the ability of the specified  Amazon Web Services account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    @Sendable
    @inlinable
    public func revokeSnapshotAccess(_ input: RevokeSnapshotAccessMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RevokeSnapshotAccessResult {
        try await self.client.execute(
            operation: "RevokeSnapshotAccess", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Removes the ability of the specified  Amazon Web Services account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.
    /// For more information about working with snapshots, go to
    /// Amazon Redshift Snapshots
    /// in the Amazon Redshift Cluster Management Guide.
    ///
    /// Parameters:
    ///   - accountWithRestoreAccess: The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
    ///   - snapshotClusterIdentifier: The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
    ///   - snapshotIdentifier: The identifier of the snapshot that the account can no longer access.
    ///   - logger: Logger use during operation
    @inlinable
    public func revokeSnapshotAccess(
        accountWithRestoreAccess: String? = nil,
        snapshotArn: String? = nil,
        snapshotClusterIdentifier: String? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RevokeSnapshotAccessResult {
        let input = RevokeSnapshotAccessMessage(
            accountWithRestoreAccess: accountWithRestoreAccess, 
            snapshotArn: snapshotArn, 
            snapshotClusterIdentifier: snapshotClusterIdentifier, 
            snapshotIdentifier: snapshotIdentifier
        )
        return try await self.revokeSnapshotAccess(input, logger: logger)
    }

    /// Rotates the encryption keys for a cluster.
    @Sendable
    @inlinable
    public func rotateEncryptionKey(_ input: RotateEncryptionKeyMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> RotateEncryptionKeyResult {
        try await self.client.execute(
            operation: "RotateEncryptionKey", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Rotates the encryption keys for a cluster.
    ///
    /// Parameters:
    ///   - clusterIdentifier: The unique identifier of the cluster that you want to rotate the encryption keys for. Constraints: Must be the name of valid cluster that has encryption enabled.
    ///   - logger: Logger use during operation
    @inlinable
    public func rotateEncryptionKey(
        clusterIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> RotateEncryptionKeyResult {
        let input = RotateEncryptionKeyMessage(
            clusterIdentifier: clusterIdentifier
        )
        return try await self.rotateEncryptionKey(input, logger: logger)
    }

    /// Updates the status of a partner integration.
    @Sendable
    @inlinable
    public func updatePartnerStatus(_ input: UpdatePartnerStatusInputMessage, logger: Logger = AWSClient.loggingDisabled) async throws -> PartnerIntegrationOutputMessage {
        try await self.client.execute(
            operation: "UpdatePartnerStatus", 
            path: "/", 
            httpMethod: .POST, 
            serviceConfig: self.config, 
            input: input, 
            logger: logger
        )
    }
    /// Updates the status of a partner integration.
    ///
    /// Parameters:
    ///   - accountId: The Amazon Web Services account ID that owns the cluster.
    ///   - clusterIdentifier: The cluster identifier of the cluster whose partner integration status is being updated.
    ///   - databaseName: The name of the database whose partner integration status is being updated.
    ///   - partnerName: The name of the partner whose integration status is being updated.
    ///   - status: The value of the updated status.
    ///   - statusMessage: The status message provided by the partner.
    ///   - logger: Logger use during operation
    @inlinable
    public func updatePartnerStatus(
        accountId: String? = nil,
        clusterIdentifier: String? = nil,
        databaseName: String? = nil,
        partnerName: String? = nil,
        status: PartnerIntegrationStatus? = nil,
        statusMessage: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws -> PartnerIntegrationOutputMessage {
        let input = UpdatePartnerStatusInputMessage(
            accountId: accountId, 
            clusterIdentifier: clusterIdentifier, 
            databaseName: databaseName, 
            partnerName: partnerName, 
            status: status, 
            statusMessage: statusMessage
        )
        return try await self.updatePartnerStatus(input, logger: logger)
    }
}

extension Redshift {
    /// Initializer required by `AWSService.with(middlewares:timeout:byteBufferAllocator:options)`. You are not able to use this initializer directly as there are not public
    /// initializers for `AWSServiceConfig.Patch`. Please use `AWSService.with(middlewares:timeout:byteBufferAllocator:options)` instead.
    public init(from: Redshift, patch: AWSServiceConfig.Patch) {
        self.client = from.client
        self.config = from.config.with(patch: patch)
    }
}

// MARK: Paginators

@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
extension Redshift {
    /// Return PaginatorSequence for operation ``describeClusterDbRevisions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterDbRevisionsPaginator(
        _ input: DescribeClusterDbRevisionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterDbRevisionsMessage, ClusterDbRevisionsMessage> {
        return .init(
            input: input,
            command: self.describeClusterDbRevisions,
            inputKey: \DescribeClusterDbRevisionsMessage.marker,
            outputKey: \ClusterDbRevisionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterDbRevisions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in the marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the marker parameter and retrying the request.  Default: 100 Constraints: minimum 20, maximum 100.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterDbRevisionsPaginator(
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterDbRevisionsMessage, ClusterDbRevisionsMessage> {
        let input = DescribeClusterDbRevisionsMessage(
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords
        )
        return self.describeClusterDbRevisionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterParameterGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterParameterGroupsPaginator(
        _ input: DescribeClusterParameterGroupsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterParameterGroupsMessage, ClusterParameterGroupsMessage> {
        return .init(
            input: input,
            command: self.describeClusterParameterGroups,
            inputKey: \DescribeClusterParameterGroupsMessage.marker,
            outputKey: \ClusterParameterGroupsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterParameterGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupName: The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterParameterGroupsPaginator(
        maxRecords: Int? = nil,
        parameterGroupName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterParameterGroupsMessage, ClusterParameterGroupsMessage> {
        let input = DescribeClusterParameterGroupsMessage(
            maxRecords: maxRecords, 
            parameterGroupName: parameterGroupName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeClusterParameterGroupsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterParameters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterParametersPaginator(
        _ input: DescribeClusterParametersMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterParametersMessage, ClusterParameterGroupDetails> {
        return .init(
            input: input,
            command: self.describeClusterParameters,
            inputKey: \DescribeClusterParametersMessage.marker,
            outputKey: \ClusterParameterGroupDetails.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterParameters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupName: The name of a cluster parameter group for which to return details.
    ///   - source: The parameter types to return. Specify user to show parameters that are different form the default. Similarly, specify engine-default to show parameters that are the same as the default parameter group.  Default: All parameter types returned. Valid Values: user | engine-default
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterParametersPaginator(
        maxRecords: Int? = nil,
        parameterGroupName: String? = nil,
        source: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterParametersMessage, ClusterParameterGroupDetails> {
        let input = DescribeClusterParametersMessage(
            maxRecords: maxRecords, 
            parameterGroupName: parameterGroupName, 
            source: source
        )
        return self.describeClusterParametersPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterSecurityGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSecurityGroupsPaginator(
        _ input: DescribeClusterSecurityGroupsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterSecurityGroupsMessage, ClusterSecurityGroupMessage> {
        return .init(
            input: input,
            command: self.describeClusterSecurityGroups,
            inputKey: \DescribeClusterSecurityGroupsMessage.marker,
            outputKey: \ClusterSecurityGroupMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterSecurityGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterSecurityGroupName: The name of a cluster security group for which you are requesting details. You must specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.  Example: securitygroup1
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster security groups that are associated with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster security groups that are associated with the specified tag value or values. For example, suppose that you have security groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the security groups that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSecurityGroupsPaginator(
        clusterSecurityGroupName: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterSecurityGroupsMessage, ClusterSecurityGroupMessage> {
        let input = DescribeClusterSecurityGroupsMessage(
            clusterSecurityGroupName: clusterSecurityGroupName, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeClusterSecurityGroupsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterSnapshots(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSnapshotsPaginator(
        _ input: DescribeClusterSnapshotsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterSnapshotsMessage, SnapshotMessage> {
        return .init(
            input: input,
            command: self.describeClusterSnapshots,
            inputKey: \DescribeClusterSnapshotsMessage.marker,
            outputKey: \SnapshotMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterSnapshots(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterExists: A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:    If ClusterExists is set to true, ClusterIdentifier is required.   If ClusterExists is set to false and ClusterIdentifier isn't specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned.    If ClusterExists is set to false and ClusterIdentifier is specified for a deleted cluster, snapshots associated with that cluster are returned.   If ClusterExists is set to false and ClusterIdentifier is specified for an existing cluster, no snapshots are returned.
    ///   - clusterIdentifier: The identifier of the cluster which generated the requested snapshots.
    ///   - endTime: A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your Amazon Web Services account, or do not specify the parameter.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.
    ///   - snapshotIdentifier: The snapshot identifier of the snapshot about which to return information.
    ///   - snapshotType: The type of snapshots for which you are requesting information. By default, snapshots of all types are returned. Valid Values: automated | manual
    ///   - sortingEntities: 
    ///   - startTime: A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSnapshotsPaginator(
        clusterExists: Bool? = nil,
        clusterIdentifier: String? = nil,
        endTime: Date? = nil,
        maxRecords: Int? = nil,
        ownerAccount: String? = nil,
        snapshotArn: String? = nil,
        snapshotIdentifier: String? = nil,
        snapshotType: String? = nil,
        sortingEntities: [SnapshotSortingEntity]? = nil,
        startTime: Date? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterSnapshotsMessage, SnapshotMessage> {
        let input = DescribeClusterSnapshotsMessage(
            clusterExists: clusterExists, 
            clusterIdentifier: clusterIdentifier, 
            endTime: endTime, 
            maxRecords: maxRecords, 
            ownerAccount: ownerAccount, 
            snapshotArn: snapshotArn, 
            snapshotIdentifier: snapshotIdentifier, 
            snapshotType: snapshotType, 
            sortingEntities: sortingEntities, 
            startTime: startTime, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeClusterSnapshotsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterSubnetGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSubnetGroupsPaginator(
        _ input: DescribeClusterSubnetGroupsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterSubnetGroupsMessage, ClusterSubnetGroupMessage> {
        return .init(
            input: input,
            command: self.describeClusterSubnetGroups,
            inputKey: \DescribeClusterSubnetGroupsMessage.marker,
            outputKey: \ClusterSubnetGroupMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterSubnetGroups(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterSubnetGroupName: The name of the cluster subnet group for which information is requested.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster subnet groups that are associated with the specified key or keys. For example, suppose that you have subnet groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster subnet groups that are associated with the specified tag value or values. For example, suppose that you have subnet groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subnet groups that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterSubnetGroupsPaginator(
        clusterSubnetGroupName: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterSubnetGroupsMessage, ClusterSubnetGroupMessage> {
        let input = DescribeClusterSubnetGroupsMessage(
            clusterSubnetGroupName: clusterSubnetGroupName, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeClusterSubnetGroupsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterTracks(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterTracksPaginator(
        _ input: DescribeClusterTracksMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterTracksMessage, TrackListMessage> {
        return .init(
            input: input,
            command: self.describeClusterTracks,
            inputKey: \DescribeClusterTracksMessage.marker,
            outputKey: \TrackListMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterTracks(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maintenanceTrackName: The name of the maintenance track.
    ///   - maxRecords: An integer value for the maximum number of maintenance tracks to return.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterTracksPaginator(
        maintenanceTrackName: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterTracksMessage, TrackListMessage> {
        let input = DescribeClusterTracksMessage(
            maintenanceTrackName: maintenanceTrackName, 
            maxRecords: maxRecords
        )
        return self.describeClusterTracksPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusterVersions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterVersionsPaginator(
        _ input: DescribeClusterVersionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClusterVersionsMessage, ClusterVersionsMessage> {
        return .init(
            input: input,
            command: self.describeClusterVersions,
            inputKey: \DescribeClusterVersionsMessage.marker,
            outputKey: \ClusterVersionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusterVersions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterParameterGroupFamily: The name of a specific cluster parameter group family to return details for. Constraints:   Must be 1 to 255 alphanumeric characters   First character must be a letter   Cannot end with a hyphen or contain two consecutive hyphens
    ///   - clusterVersion: The specific cluster version to return. Example: 1.0
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClusterVersionsPaginator(
        clusterParameterGroupFamily: String? = nil,
        clusterVersion: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClusterVersionsMessage, ClusterVersionsMessage> {
        let input = DescribeClusterVersionsMessage(
            clusterParameterGroupFamily: clusterParameterGroupFamily, 
            clusterVersion: clusterVersion, 
            maxRecords: maxRecords
        )
        return self.describeClusterVersionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClustersPaginator(
        _ input: DescribeClustersMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeClustersMessage, ClustersMessage> {
        return .init(
            input: input,
            command: self.describeClusters,
            inputKey: \DescribeClustersMessage.marker,
            outputKey: \ClustersMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeClustersPaginator(
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeClustersMessage, ClustersMessage> {
        let input = DescribeClustersMessage(
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeClustersPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeCustomDomainAssociations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeCustomDomainAssociationsPaginator(
        _ input: DescribeCustomDomainAssociationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeCustomDomainAssociationsMessage, CustomDomainAssociationsMessage> {
        return .init(
            input: input,
            command: self.describeCustomDomainAssociations,
            inputKey: \DescribeCustomDomainAssociationsMessage.marker,
            outputKey: \CustomDomainAssociationsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeCustomDomainAssociations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - customDomainCertificateArn: The certificate Amazon Resource Name (ARN) for the custom domain association.
    ///   - customDomainName: The custom domain name for the custom domain association.
    ///   - maxRecords: The maximum records setting for the associated custom domain.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeCustomDomainAssociationsPaginator(
        customDomainCertificateArn: String? = nil,
        customDomainName: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeCustomDomainAssociationsMessage, CustomDomainAssociationsMessage> {
        let input = DescribeCustomDomainAssociationsMessage(
            customDomainCertificateArn: customDomainCertificateArn, 
            customDomainName: customDomainName, 
            maxRecords: maxRecords
        )
        return self.describeCustomDomainAssociationsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeDataShares(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesPaginator(
        _ input: DescribeDataSharesMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesMessage, DescribeDataSharesResult> {
        return .init(
            input: input,
            command: self.describeDataShares,
            inputKey: \DescribeDataSharesMessage.marker,
            outputKey: \DescribeDataSharesResult.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeDataShares(_:logger:)``.
    ///
    /// - Parameters:
    ///   - dataShareArn: The Amazon resource name (ARN) of the datashare to describe details of.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesPaginator(
        dataShareArn: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesMessage, DescribeDataSharesResult> {
        let input = DescribeDataSharesMessage(
            dataShareArn: dataShareArn, 
            maxRecords: maxRecords
        )
        return self.describeDataSharesPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeDataSharesForConsumer(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesForConsumerPaginator(
        _ input: DescribeDataSharesForConsumerMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesForConsumerMessage, DescribeDataSharesForConsumerResult> {
        return .init(
            input: input,
            command: self.describeDataSharesForConsumer,
            inputKey: \DescribeDataSharesForConsumerMessage.marker,
            outputKey: \DescribeDataSharesForConsumerResult.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeDataSharesForConsumer(_:logger:)``.
    ///
    /// - Parameters:
    ///   - consumerArn: The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - status: An identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesForConsumerPaginator(
        consumerArn: String? = nil,
        maxRecords: Int? = nil,
        status: DataShareStatusForConsumer? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesForConsumerMessage, DescribeDataSharesForConsumerResult> {
        let input = DescribeDataSharesForConsumerMessage(
            consumerArn: consumerArn, 
            maxRecords: maxRecords, 
            status: status
        )
        return self.describeDataSharesForConsumerPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeDataSharesForProducer(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesForProducerPaginator(
        _ input: DescribeDataSharesForProducerMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesForProducerMessage, DescribeDataSharesForProducerResult> {
        return .init(
            input: input,
            command: self.describeDataSharesForProducer,
            inputKey: \DescribeDataSharesForProducerMessage.marker,
            outputKey: \DescribeDataSharesForProducerResult.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeDataSharesForProducer(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - producerArn: The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.
    ///   - status: An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDataSharesForProducerPaginator(
        maxRecords: Int? = nil,
        producerArn: String? = nil,
        status: DataShareStatusForProducer? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeDataSharesForProducerMessage, DescribeDataSharesForProducerResult> {
        let input = DescribeDataSharesForProducerMessage(
            maxRecords: maxRecords, 
            producerArn: producerArn, 
            status: status
        )
        return self.describeDataSharesForProducerPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeDefaultClusterParameters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDefaultClusterParametersPaginator(
        _ input: DescribeDefaultClusterParametersMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeDefaultClusterParametersMessage, DescribeDefaultClusterParametersResult> {
        return .init(
            input: input,
            command: self.describeDefaultClusterParameters,
            inputKey: \DescribeDefaultClusterParametersMessage.marker,
            outputKey: \DescribeDefaultClusterParametersResult.defaultClusterParameters?.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeDefaultClusterParameters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - parameterGroupFamily: The name of the cluster parameter group family.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeDefaultClusterParametersPaginator(
        maxRecords: Int? = nil,
        parameterGroupFamily: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeDefaultClusterParametersMessage, DescribeDefaultClusterParametersResult> {
        let input = DescribeDefaultClusterParametersMessage(
            maxRecords: maxRecords, 
            parameterGroupFamily: parameterGroupFamily
        )
        return self.describeDefaultClusterParametersPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeEndpointAccess(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEndpointAccessPaginator(
        _ input: DescribeEndpointAccessMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeEndpointAccessMessage, EndpointAccessList> {
        return .init(
            input: input,
            command: self.describeEndpointAccess,
            inputKey: \DescribeEndpointAccessMessage.marker,
            outputKey: \EndpointAccessList.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeEndpointAccess(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The cluster identifier associated with the described endpoint.
    ///   - endpointName: The name of the endpoint to be described.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a Marker is included in the response so that the remaining results can be retrieved.
    ///   - resourceOwner: The Amazon Web Services account ID of the owner of the cluster.
    ///   - vpcId: The virtual private cloud (VPC) identifier with access to the cluster.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEndpointAccessPaginator(
        clusterIdentifier: String? = nil,
        endpointName: String? = nil,
        maxRecords: Int? = nil,
        resourceOwner: String? = nil,
        vpcId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeEndpointAccessMessage, EndpointAccessList> {
        let input = DescribeEndpointAccessMessage(
            clusterIdentifier: clusterIdentifier, 
            endpointName: endpointName, 
            maxRecords: maxRecords, 
            resourceOwner: resourceOwner, 
            vpcId: vpcId
        )
        return self.describeEndpointAccessPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeEndpointAuthorization(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEndpointAuthorizationPaginator(
        _ input: DescribeEndpointAuthorizationMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeEndpointAuthorizationMessage, EndpointAuthorizationList> {
        return .init(
            input: input,
            command: self.describeEndpointAuthorization,
            inputKey: \DescribeEndpointAuthorizationMessage.marker,
            outputKey: \EndpointAuthorizationList.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeEndpointAuthorization(_:logger:)``.
    ///
    /// - Parameters:
    ///   - account: The Amazon Web Services account ID of either the cluster owner (grantor) or grantee.  If Grantee parameter is true, then the Account value is of the grantor.
    ///   - clusterIdentifier: The cluster identifier of the cluster to access.
    ///   - grantee: Indicates whether to check authorization from a grantor or grantee point of view.  If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a Marker is included in the response so that the remaining results can be retrieved.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEndpointAuthorizationPaginator(
        account: String? = nil,
        clusterIdentifier: String? = nil,
        grantee: Bool? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeEndpointAuthorizationMessage, EndpointAuthorizationList> {
        let input = DescribeEndpointAuthorizationMessage(
            account: account, 
            clusterIdentifier: clusterIdentifier, 
            grantee: grantee, 
            maxRecords: maxRecords
        )
        return self.describeEndpointAuthorizationPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeEventSubscriptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEventSubscriptionsPaginator(
        _ input: DescribeEventSubscriptionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeEventSubscriptionsMessage, EventSubscriptionsMessage> {
        return .init(
            input: input,
            command: self.describeEventSubscriptions,
            inputKey: \DescribeEventSubscriptionsMessage.marker,
            outputKey: \EventSubscriptionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeEventSubscriptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - subscriptionName: The name of the Amazon Redshift event notification subscription to be described.
    ///   - tagKeys: A tag key or keys for which you want to return all matching event notification subscriptions that are associated with the specified key or keys. For example, suppose that you have subscriptions that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching event notification subscriptions that are associated with the specified tag value or values. For example, suppose that you have subscriptions that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the subscriptions that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEventSubscriptionsPaginator(
        maxRecords: Int? = nil,
        subscriptionName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeEventSubscriptionsMessage, EventSubscriptionsMessage> {
        let input = DescribeEventSubscriptionsMessage(
            maxRecords: maxRecords, 
            subscriptionName: subscriptionName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeEventSubscriptionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeEvents(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEventsPaginator(
        _ input: DescribeEventsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeEventsMessage, EventsMessage> {
        return .init(
            input: input,
            command: self.describeEvents,
            inputKey: \DescribeEventsMessage.marker,
            outputKey: \EventsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeEvents(_:logger:)``.
    ///
    /// - Parameters:
    ///   - duration: The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned. Default: 60
    ///   - endTime: The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2009-07-08T18:00Z
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - sourceIdentifier: The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided.   Specify a cluster identifier when SourceType is cluster.   Specify a cluster security group name when SourceType is cluster-security-group.   Specify a cluster parameter group name when SourceType is cluster-parameter-group.   Specify a cluster snapshot identifier when SourceType is cluster-snapshot.
    ///   - sourceType: The event source to retrieve events for. If no value is specified, all events are returned. Constraints: If SourceType is supplied, SourceIdentifier must also be provided.   Specify cluster when SourceIdentifier is a cluster identifier.   Specify cluster-security-group when SourceIdentifier is a cluster security group name.   Specify cluster-parameter-group when SourceIdentifier is a cluster parameter group name.   Specify cluster-snapshot when SourceIdentifier is a cluster snapshot identifier.
    ///   - startTime: The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2009-07-08T18:00Z
    ///   - logger: Logger used for logging
    @inlinable
    public func describeEventsPaginator(
        duration: Int? = nil,
        endTime: Date? = nil,
        maxRecords: Int? = nil,
        sourceIdentifier: String? = nil,
        sourceType: SourceType? = nil,
        startTime: Date? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeEventsMessage, EventsMessage> {
        let input = DescribeEventsMessage(
            duration: duration, 
            endTime: endTime, 
            maxRecords: maxRecords, 
            sourceIdentifier: sourceIdentifier, 
            sourceType: sourceType, 
            startTime: startTime
        )
        return self.describeEventsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeHsmClientCertificates(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeHsmClientCertificatesPaginator(
        _ input: DescribeHsmClientCertificatesMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeHsmClientCertificatesMessage, HsmClientCertificateMessage> {
        return .init(
            input: input,
            command: self.describeHsmClientCertificates,
            inputKey: \DescribeHsmClientCertificatesMessage.marker,
            outputKey: \HsmClientCertificateMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeHsmClientCertificates(_:logger:)``.
    ///
    /// - Parameters:
    ///   - hsmClientCertificateIdentifier: The identifier of a specific HSM client certificate for which you want information. If no identifier is specified, information is returned for all HSM client certificates owned by your Amazon Web Services account.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching HSM client certificates that are associated with the specified key or keys. For example, suppose that you have HSM client certificates that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching HSM client certificates that are associated with the specified tag value or values. For example, suppose that you have HSM client certificates that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM client certificates that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeHsmClientCertificatesPaginator(
        hsmClientCertificateIdentifier: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeHsmClientCertificatesMessage, HsmClientCertificateMessage> {
        let input = DescribeHsmClientCertificatesMessage(
            hsmClientCertificateIdentifier: hsmClientCertificateIdentifier, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeHsmClientCertificatesPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeHsmConfigurations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeHsmConfigurationsPaginator(
        _ input: DescribeHsmConfigurationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeHsmConfigurationsMessage, HsmConfigurationMessage> {
        return .init(
            input: input,
            command: self.describeHsmConfigurations,
            inputKey: \DescribeHsmConfigurationsMessage.marker,
            outputKey: \HsmConfigurationMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeHsmConfigurations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - hsmConfigurationIdentifier: The identifier of a specific Amazon Redshift HSM configuration to be described. If no identifier is specified, information is returned for all HSM configurations owned by your Amazon Web Services account.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching HSM configurations that are associated with the specified key or keys. For example, suppose that you have HSM configurations that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching HSM configurations that are associated with the specified tag value or values. For example, suppose that you have HSM configurations that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the HSM configurations that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeHsmConfigurationsPaginator(
        hsmConfigurationIdentifier: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeHsmConfigurationsMessage, HsmConfigurationMessage> {
        let input = DescribeHsmConfigurationsMessage(
            hsmConfigurationIdentifier: hsmConfigurationIdentifier, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeHsmConfigurationsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeInboundIntegrations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeInboundIntegrationsPaginator(
        _ input: DescribeInboundIntegrationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeInboundIntegrationsMessage, InboundIntegrationsMessage> {
        return .init(
            input: input,
            command: self.describeInboundIntegrations,
            inputKey: \DescribeInboundIntegrationsMessage.marker,
            outputKey: \InboundIntegrationsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeInboundIntegrations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - integrationArn: The Amazon Resource Name (ARN) of the inbound integration.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - targetArn: The Amazon Resource Name (ARN) of the target of an inbound integration.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeInboundIntegrationsPaginator(
        integrationArn: String? = nil,
        maxRecords: Int? = nil,
        targetArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeInboundIntegrationsMessage, InboundIntegrationsMessage> {
        let input = DescribeInboundIntegrationsMessage(
            integrationArn: integrationArn, 
            maxRecords: maxRecords, 
            targetArn: targetArn
        )
        return self.describeInboundIntegrationsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeIntegrations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeIntegrationsPaginator(
        _ input: DescribeIntegrationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeIntegrationsMessage, IntegrationsMessage> {
        return .init(
            input: input,
            command: self.describeIntegrations,
            inputKey: \DescribeIntegrationsMessage.marker,
            outputKey: \IntegrationsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeIntegrations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - filters: A filter that specifies one or more resources to return.
    ///   - integrationArn: The unique identifier of the integration.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeIntegrationsPaginator(
        filters: [DescribeIntegrationsFilter]? = nil,
        integrationArn: String? = nil,
        maxRecords: Int? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeIntegrationsMessage, IntegrationsMessage> {
        let input = DescribeIntegrationsMessage(
            filters: filters, 
            integrationArn: integrationArn, 
            maxRecords: maxRecords
        )
        return self.describeIntegrationsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeNodeConfigurationOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeNodeConfigurationOptionsPaginator(
        _ input: DescribeNodeConfigurationOptionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeNodeConfigurationOptionsMessage, NodeConfigurationOptionsMessage> {
        return .init(
            input: input,
            command: self.describeNodeConfigurationOptions,
            inputKey: \DescribeNodeConfigurationOptionsMessage.marker,
            outputKey: \NodeConfigurationOptionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeNodeConfigurationOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - actionType: The action type to evaluate for possible node configurations. Specify "restore-cluster" to get configuration combinations based on an existing snapshot.  Specify "recommend-node-config" to get configuration recommendations based on an existing cluster or snapshot.  Specify "resize-cluster" to get configuration combinations for elastic resize based on an existing cluster.
    ///   - clusterIdentifier: The identifier of the cluster to evaluate for possible node configurations.
    ///   - filters: A set of name, operator, and value items to filter the results.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 500  Constraints: minimum 100, maximum 500.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot.  Required if you are restoring a snapshot you do not own,  optional if you own the snapshot.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to describe node configuration.
    ///   - snapshotIdentifier: The identifier of the snapshot to evaluate for possible node configurations.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeNodeConfigurationOptionsPaginator(
        actionType: ActionType? = nil,
        clusterIdentifier: String? = nil,
        filters: [NodeConfigurationOptionsFilter]? = nil,
        maxRecords: Int? = nil,
        ownerAccount: String? = nil,
        snapshotArn: String? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeNodeConfigurationOptionsMessage, NodeConfigurationOptionsMessage> {
        let input = DescribeNodeConfigurationOptionsMessage(
            actionType: actionType, 
            clusterIdentifier: clusterIdentifier, 
            filters: filters, 
            maxRecords: maxRecords, 
            ownerAccount: ownerAccount, 
            snapshotArn: snapshotArn, 
            snapshotIdentifier: snapshotIdentifier
        )
        return self.describeNodeConfigurationOptionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeOrderableClusterOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeOrderableClusterOptionsPaginator(
        _ input: DescribeOrderableClusterOptionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeOrderableClusterOptionsMessage, OrderableClusterOptionsMessage> {
        return .init(
            input: input,
            command: self.describeOrderableClusterOptions,
            inputKey: \DescribeOrderableClusterOptionsMessage.marker,
            outputKey: \OrderableClusterOptionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeOrderableClusterOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterVersion: The version filter value. Specify this parameter to show only the available offerings matching the specified version. Default: All versions. Constraints: Must be one of the version returned from DescribeClusterVersions.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - nodeType: The node type filter value. Specify this parameter to show only the available offerings matching the specified node type.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeOrderableClusterOptionsPaginator(
        clusterVersion: String? = nil,
        maxRecords: Int? = nil,
        nodeType: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeOrderableClusterOptionsMessage, OrderableClusterOptionsMessage> {
        let input = DescribeOrderableClusterOptionsMessage(
            clusterVersion: clusterVersion, 
            maxRecords: maxRecords, 
            nodeType: nodeType
        )
        return self.describeOrderableClusterOptionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeRedshiftIdcApplications(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeRedshiftIdcApplicationsPaginator(
        _ input: DescribeRedshiftIdcApplicationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeRedshiftIdcApplicationsMessage, DescribeRedshiftIdcApplicationsResult> {
        return .init(
            input: input,
            command: self.describeRedshiftIdcApplications,
            inputKey: \DescribeRedshiftIdcApplicationsMessage.marker,
            outputKey: \DescribeRedshiftIdcApplicationsResult.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeRedshiftIdcApplications(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records  exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve  the next set of records by retrying the command with the returned marker value.
    ///   - redshiftIdcApplicationArn: The ARN for the Redshift application that integrates with IAM Identity Center.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeRedshiftIdcApplicationsPaginator(
        maxRecords: Int? = nil,
        redshiftIdcApplicationArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeRedshiftIdcApplicationsMessage, DescribeRedshiftIdcApplicationsResult> {
        let input = DescribeRedshiftIdcApplicationsMessage(
            maxRecords: maxRecords, 
            redshiftIdcApplicationArn: redshiftIdcApplicationArn
        )
        return self.describeRedshiftIdcApplicationsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeReservedNodeExchangeStatus(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodeExchangeStatusPaginator(
        _ input: DescribeReservedNodeExchangeStatusInputMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodeExchangeStatusInputMessage, DescribeReservedNodeExchangeStatusOutputMessage> {
        return .init(
            input: input,
            command: self.describeReservedNodeExchangeStatus,
            inputKey: \DescribeReservedNodeExchangeStatusInputMessage.marker,
            outputKey: \DescribeReservedNodeExchangeStatusOutputMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeReservedNodeExchangeStatus(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - reservedNodeExchangeRequestId: The identifier of the reserved-node exchange request.
    ///   - reservedNodeId: The identifier of the source reserved node in a reserved-node exchange request.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodeExchangeStatusPaginator(
        maxRecords: Int? = nil,
        reservedNodeExchangeRequestId: String? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodeExchangeStatusInputMessage, DescribeReservedNodeExchangeStatusOutputMessage> {
        let input = DescribeReservedNodeExchangeStatusInputMessage(
            maxRecords: maxRecords, 
            reservedNodeExchangeRequestId: reservedNodeExchangeRequestId, 
            reservedNodeId: reservedNodeId
        )
        return self.describeReservedNodeExchangeStatusPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeReservedNodeOfferings(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodeOfferingsPaginator(
        _ input: DescribeReservedNodeOfferingsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodeOfferingsMessage, ReservedNodeOfferingsMessage> {
        return .init(
            input: input,
            command: self.describeReservedNodeOfferings,
            inputKey: \DescribeReservedNodeOfferingsMessage.marker,
            outputKey: \ReservedNodeOfferingsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeReservedNodeOfferings(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - reservedNodeOfferingId: The unique identifier for the offering.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodeOfferingsPaginator(
        maxRecords: Int? = nil,
        reservedNodeOfferingId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodeOfferingsMessage, ReservedNodeOfferingsMessage> {
        let input = DescribeReservedNodeOfferingsMessage(
            maxRecords: maxRecords, 
            reservedNodeOfferingId: reservedNodeOfferingId
        )
        return self.describeReservedNodeOfferingsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeReservedNodes(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodesPaginator(
        _ input: DescribeReservedNodesMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodesMessage, ReservedNodesMessage> {
        return .init(
            input: input,
            command: self.describeReservedNodes,
            inputKey: \DescribeReservedNodesMessage.marker,
            outputKey: \ReservedNodesMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeReservedNodes(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - reservedNodeId: Identifier for the node reservation.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeReservedNodesPaginator(
        maxRecords: Int? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeReservedNodesMessage, ReservedNodesMessage> {
        let input = DescribeReservedNodesMessage(
            maxRecords: maxRecords, 
            reservedNodeId: reservedNodeId
        )
        return self.describeReservedNodesPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeScheduledActions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeScheduledActionsPaginator(
        _ input: DescribeScheduledActionsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeScheduledActionsMessage, ScheduledActionsMessage> {
        return .init(
            input: input,
            command: self.describeScheduledActions,
            inputKey: \DescribeScheduledActionsMessage.marker,
            outputKey: \ScheduledActionsMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeScheduledActions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - active: If true, retrieve only active scheduled actions.  If false, retrieve only disabled scheduled actions.
    ///   - endTime: The end time in UTC of the scheduled action to retrieve.  Only active scheduled actions that have invocations before this time are retrieved.
    ///   - filters: List of scheduled action filters.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - scheduledActionName: The name of the scheduled action to retrieve.
    ///   - startTime: The start time in UTC of the scheduled actions to retrieve.  Only active scheduled actions that have invocations after this time are retrieved.
    ///   - targetActionType: The type of the scheduled actions to retrieve.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeScheduledActionsPaginator(
        active: Bool? = nil,
        endTime: Date? = nil,
        filters: [ScheduledActionFilter]? = nil,
        maxRecords: Int? = nil,
        scheduledActionName: String? = nil,
        startTime: Date? = nil,
        targetActionType: ScheduledActionTypeValues? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeScheduledActionsMessage, ScheduledActionsMessage> {
        let input = DescribeScheduledActionsMessage(
            active: active, 
            endTime: endTime, 
            filters: filters, 
            maxRecords: maxRecords, 
            scheduledActionName: scheduledActionName, 
            startTime: startTime, 
            targetActionType: targetActionType
        )
        return self.describeScheduledActionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeSnapshotCopyGrants(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeSnapshotCopyGrantsPaginator(
        _ input: DescribeSnapshotCopyGrantsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeSnapshotCopyGrantsMessage, SnapshotCopyGrantMessage> {
        return .init(
            input: input,
            command: self.describeSnapshotCopyGrants,
            inputKey: \DescribeSnapshotCopyGrantsMessage.marker,
            outputKey: \SnapshotCopyGrantMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeSnapshotCopyGrants(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - snapshotCopyGrantName: The name of the snapshot copy grant.
    ///   - tagKeys: A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeSnapshotCopyGrantsPaginator(
        maxRecords: Int? = nil,
        snapshotCopyGrantName: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeSnapshotCopyGrantsMessage, SnapshotCopyGrantMessage> {
        let input = DescribeSnapshotCopyGrantsMessage(
            maxRecords: maxRecords, 
            snapshotCopyGrantName: snapshotCopyGrantName, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeSnapshotCopyGrantsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeSnapshotSchedules(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeSnapshotSchedulesPaginator(
        _ input: DescribeSnapshotSchedulesMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeSnapshotSchedulesMessage, DescribeSnapshotSchedulesOutputMessage> {
        return .init(
            input: input,
            command: self.describeSnapshotSchedules,
            inputKey: \DescribeSnapshotSchedulesMessage.marker,
            outputKey: \DescribeSnapshotSchedulesOutputMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeSnapshotSchedules(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier for the cluster whose snapshot schedules you want to view.
    ///   - maxRecords: The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - scheduleIdentifier: A unique identifier for a snapshot schedule.
    ///   - tagKeys: The key value for a snapshot schedule tag.
    ///   - tagValues: The value corresponding to the key of the snapshot schedule tag.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeSnapshotSchedulesPaginator(
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        scheduleIdentifier: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeSnapshotSchedulesMessage, DescribeSnapshotSchedulesOutputMessage> {
        let input = DescribeSnapshotSchedulesMessage(
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords, 
            scheduleIdentifier: scheduleIdentifier, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeSnapshotSchedulesPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeTableRestoreStatus(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeTableRestoreStatusPaginator(
        _ input: DescribeTableRestoreStatusMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeTableRestoreStatusMessage, TableRestoreStatusMessage> {
        return .init(
            input: input,
            command: self.describeTableRestoreStatus,
            inputKey: \DescribeTableRestoreStatusMessage.marker,
            outputKey: \TableRestoreStatusMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeTableRestoreStatus(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The Amazon Redshift cluster that the table is being restored to.
    ///   - maxRecords: The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
    ///   - tableRestoreRequestId: The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeTableRestoreStatusPaginator(
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        tableRestoreRequestId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeTableRestoreStatusMessage, TableRestoreStatusMessage> {
        let input = DescribeTableRestoreStatusMessage(
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords, 
            tableRestoreRequestId: tableRestoreRequestId
        )
        return self.describeTableRestoreStatusPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeTags(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeTagsPaginator(
        _ input: DescribeTagsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeTagsMessage, TaggedResourceListMessage> {
        return .init(
            input: input,
            command: self.describeTags,
            inputKey: \DescribeTagsMessage.marker,
            outputKey: \TaggedResourceListMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeTags(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: The maximum number or response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - resourceName: The Amazon Resource Name (ARN) for which you want to describe the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
    ///   - resourceType: The type of resource with which you want to view tags. Valid resource types are:    Cluster   CIDR/IP   EC2 security group   Snapshot   Cluster security group   Subnet group   HSM connection   HSM certificate   Parameter group   Snapshot copy grant   Integration (zero-ETL integration or S3 event integration)  To describe the tags associated with an integration, don't specify ResourceType,  instead specify the ResourceName of the integration.    For more information about Amazon Redshift resource types and constructing ARNs, go to Specifying Policy Elements: Actions, Effects, Resources, and Principals in the Amazon Redshift Cluster Management Guide.
    ///   - tagKeys: A tag key or keys for which you want to return all matching resources that are associated with the specified key or keys. For example, suppose that you have resources tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with all resources that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching resources that are associated with the specified value or values. For example, suppose that you have resources tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with all resources that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeTagsPaginator(
        maxRecords: Int? = nil,
        resourceName: String? = nil,
        resourceType: String? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeTagsMessage, TaggedResourceListMessage> {
        let input = DescribeTagsMessage(
            maxRecords: maxRecords, 
            resourceName: resourceName, 
            resourceType: resourceType, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        return self.describeTagsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``describeUsageLimits(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func describeUsageLimitsPaginator(
        _ input: DescribeUsageLimitsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<DescribeUsageLimitsMessage, UsageLimitList> {
        return .init(
            input: input,
            command: self.describeUsageLimits,
            inputKey: \DescribeUsageLimitsMessage.marker,
            outputKey: \UsageLimitList.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``describeUsageLimits(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The identifier of the cluster for which you want to describe usage limits.
    ///   - featureType: The feature type for which you want to describe usage limits.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching usage limit objects that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the usage limit objects have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching usage limit objects that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the usage limit objects that have either or both of these tag values associated with them.
    ///   - usageLimitId: The identifier of the usage limit to describe.
    ///   - logger: Logger used for logging
    @inlinable
    public func describeUsageLimitsPaginator(
        clusterIdentifier: String? = nil,
        featureType: UsageLimitFeatureType? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        usageLimitId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<DescribeUsageLimitsMessage, UsageLimitList> {
        let input = DescribeUsageLimitsMessage(
            clusterIdentifier: clusterIdentifier, 
            featureType: featureType, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues, 
            usageLimitId: usageLimitId
        )
        return self.describeUsageLimitsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``getReservedNodeExchangeConfigurationOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func getReservedNodeExchangeConfigurationOptionsPaginator(
        _ input: GetReservedNodeExchangeConfigurationOptionsInputMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<GetReservedNodeExchangeConfigurationOptionsInputMessage, GetReservedNodeExchangeConfigurationOptionsOutputMessage> {
        return .init(
            input: input,
            command: self.getReservedNodeExchangeConfigurationOptions,
            inputKey: \GetReservedNodeExchangeConfigurationOptionsInputMessage.marker,
            outputKey: \GetReservedNodeExchangeConfigurationOptionsOutputMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``getReservedNodeExchangeConfigurationOptions(_:logger:)``.
    ///
    /// - Parameters:
    ///   - actionType: The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.
    ///   - clusterIdentifier: The identifier for the cluster that is the source for a reserved-node exchange.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a Marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
    ///   - snapshotIdentifier: The identifier for the snapshot that is the source for the reserved-node exchange.
    ///   - logger: Logger used for logging
    @inlinable
    public func getReservedNodeExchangeConfigurationOptionsPaginator(
        actionType: ReservedNodeExchangeActionType? = nil,
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        snapshotIdentifier: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<GetReservedNodeExchangeConfigurationOptionsInputMessage, GetReservedNodeExchangeConfigurationOptionsOutputMessage> {
        let input = GetReservedNodeExchangeConfigurationOptionsInputMessage(
            actionType: actionType, 
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords, 
            snapshotIdentifier: snapshotIdentifier
        )
        return self.getReservedNodeExchangeConfigurationOptionsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``getReservedNodeExchangeOfferings(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func getReservedNodeExchangeOfferingsPaginator(
        _ input: GetReservedNodeExchangeOfferingsInputMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<GetReservedNodeExchangeOfferingsInputMessage, GetReservedNodeExchangeOfferingsOutputMessage> {
        return .init(
            input: input,
            command: self.getReservedNodeExchangeOfferings,
            inputKey: \GetReservedNodeExchangeOfferingsInputMessage.marker,
            outputKey: \GetReservedNodeExchangeOfferingsOutputMessage.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``getReservedNodeExchangeOfferings(_:logger:)``.
    ///
    /// - Parameters:
    ///   - maxRecords: An integer setting the maximum number of ReservedNodeOfferings to retrieve.
    ///   - reservedNodeId: A string representing the node identifier for the DC1 Reserved Node to be exchanged.
    ///   - logger: Logger used for logging
    @inlinable
    public func getReservedNodeExchangeOfferingsPaginator(
        maxRecords: Int? = nil,
        reservedNodeId: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<GetReservedNodeExchangeOfferingsInputMessage, GetReservedNodeExchangeOfferingsOutputMessage> {
        let input = GetReservedNodeExchangeOfferingsInputMessage(
            maxRecords: maxRecords, 
            reservedNodeId: reservedNodeId
        )
        return self.getReservedNodeExchangeOfferingsPaginator(input, logger: logger)
    }

    /// Return PaginatorSequence for operation ``listRecommendations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func listRecommendationsPaginator(
        _ input: ListRecommendationsMessage,
        logger: Logger = AWSClient.loggingDisabled
    ) -> AWSClient.PaginatorSequence<ListRecommendationsMessage, ListRecommendationsResult> {
        return .init(
            input: input,
            command: self.listRecommendations,
            inputKey: \ListRecommendationsMessage.marker,
            outputKey: \ListRecommendationsResult.marker,
            logger: logger
        )
    }
    /// Return PaginatorSequence for operation ``listRecommendations(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned.  If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records  exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve  the next set of records by retrying the command with the returned marker value.
    ///   - namespaceArn: The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
    ///   - logger: Logger used for logging
    @inlinable
    public func listRecommendationsPaginator(
        clusterIdentifier: String? = nil,
        maxRecords: Int? = nil,
        namespaceArn: String? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) -> AWSClient.PaginatorSequence<ListRecommendationsMessage, ListRecommendationsResult> {
        let input = ListRecommendationsMessage(
            clusterIdentifier: clusterIdentifier, 
            maxRecords: maxRecords, 
            namespaceArn: namespaceArn
        )
        return self.listRecommendationsPaginator(input, logger: logger)
    }
}

extension Redshift.DescribeClusterDbRevisionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterDbRevisionsMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeClusterParameterGroupsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterParameterGroupsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            parameterGroupName: self.parameterGroupName,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeClusterParametersMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterParametersMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            parameterGroupName: self.parameterGroupName,
            source: self.source
        )
    }
}

extension Redshift.DescribeClusterSecurityGroupsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterSecurityGroupsMessage {
        return .init(
            clusterSecurityGroupName: self.clusterSecurityGroupName,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeClusterSnapshotsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterSnapshotsMessage {
        return .init(
            clusterExists: self.clusterExists,
            clusterIdentifier: self.clusterIdentifier,
            endTime: self.endTime,
            marker: token,
            maxRecords: self.maxRecords,
            ownerAccount: self.ownerAccount,
            snapshotArn: self.snapshotArn,
            snapshotIdentifier: self.snapshotIdentifier,
            snapshotType: self.snapshotType,
            sortingEntities: self.sortingEntities,
            startTime: self.startTime,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeClusterSubnetGroupsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterSubnetGroupsMessage {
        return .init(
            clusterSubnetGroupName: self.clusterSubnetGroupName,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeClusterTracksMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterTracksMessage {
        return .init(
            maintenanceTrackName: self.maintenanceTrackName,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeClusterVersionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClusterVersionsMessage {
        return .init(
            clusterParameterGroupFamily: self.clusterParameterGroupFamily,
            clusterVersion: self.clusterVersion,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeClustersMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeClustersMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeCustomDomainAssociationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeCustomDomainAssociationsMessage {
        return .init(
            customDomainCertificateArn: self.customDomainCertificateArn,
            customDomainName: self.customDomainName,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeDataSharesForConsumerMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeDataSharesForConsumerMessage {
        return .init(
            consumerArn: self.consumerArn,
            marker: token,
            maxRecords: self.maxRecords,
            status: self.status
        )
    }
}

extension Redshift.DescribeDataSharesForProducerMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeDataSharesForProducerMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            producerArn: self.producerArn,
            status: self.status
        )
    }
}

extension Redshift.DescribeDataSharesMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeDataSharesMessage {
        return .init(
            dataShareArn: self.dataShareArn,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeDefaultClusterParametersMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeDefaultClusterParametersMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            parameterGroupFamily: self.parameterGroupFamily
        )
    }
}

extension Redshift.DescribeEndpointAccessMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeEndpointAccessMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            endpointName: self.endpointName,
            marker: token,
            maxRecords: self.maxRecords,
            resourceOwner: self.resourceOwner,
            vpcId: self.vpcId
        )
    }
}

extension Redshift.DescribeEndpointAuthorizationMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeEndpointAuthorizationMessage {
        return .init(
            account: self.account,
            clusterIdentifier: self.clusterIdentifier,
            grantee: self.grantee,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeEventSubscriptionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeEventSubscriptionsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            subscriptionName: self.subscriptionName,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeEventsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeEventsMessage {
        return .init(
            duration: self.duration,
            endTime: self.endTime,
            marker: token,
            maxRecords: self.maxRecords,
            sourceIdentifier: self.sourceIdentifier,
            sourceType: self.sourceType,
            startTime: self.startTime
        )
    }
}

extension Redshift.DescribeHsmClientCertificatesMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeHsmClientCertificatesMessage {
        return .init(
            hsmClientCertificateIdentifier: self.hsmClientCertificateIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeHsmConfigurationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeHsmConfigurationsMessage {
        return .init(
            hsmConfigurationIdentifier: self.hsmConfigurationIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeInboundIntegrationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeInboundIntegrationsMessage {
        return .init(
            integrationArn: self.integrationArn,
            marker: token,
            maxRecords: self.maxRecords,
            targetArn: self.targetArn
        )
    }
}

extension Redshift.DescribeIntegrationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeIntegrationsMessage {
        return .init(
            filters: self.filters,
            integrationArn: self.integrationArn,
            marker: token,
            maxRecords: self.maxRecords
        )
    }
}

extension Redshift.DescribeNodeConfigurationOptionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeNodeConfigurationOptionsMessage {
        return .init(
            actionType: self.actionType,
            clusterIdentifier: self.clusterIdentifier,
            filters: self.filters,
            marker: token,
            maxRecords: self.maxRecords,
            ownerAccount: self.ownerAccount,
            snapshotArn: self.snapshotArn,
            snapshotIdentifier: self.snapshotIdentifier
        )
    }
}

extension Redshift.DescribeOrderableClusterOptionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeOrderableClusterOptionsMessage {
        return .init(
            clusterVersion: self.clusterVersion,
            marker: token,
            maxRecords: self.maxRecords,
            nodeType: self.nodeType
        )
    }
}

extension Redshift.DescribeRedshiftIdcApplicationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeRedshiftIdcApplicationsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            redshiftIdcApplicationArn: self.redshiftIdcApplicationArn
        )
    }
}

extension Redshift.DescribeReservedNodeExchangeStatusInputMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeReservedNodeExchangeStatusInputMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            reservedNodeExchangeRequestId: self.reservedNodeExchangeRequestId,
            reservedNodeId: self.reservedNodeId
        )
    }
}

extension Redshift.DescribeReservedNodeOfferingsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeReservedNodeOfferingsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            reservedNodeOfferingId: self.reservedNodeOfferingId
        )
    }
}

extension Redshift.DescribeReservedNodesMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeReservedNodesMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            reservedNodeId: self.reservedNodeId
        )
    }
}

extension Redshift.DescribeScheduledActionsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeScheduledActionsMessage {
        return .init(
            active: self.active,
            endTime: self.endTime,
            filters: self.filters,
            marker: token,
            maxRecords: self.maxRecords,
            scheduledActionName: self.scheduledActionName,
            startTime: self.startTime,
            targetActionType: self.targetActionType
        )
    }
}

extension Redshift.DescribeSnapshotCopyGrantsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeSnapshotCopyGrantsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            snapshotCopyGrantName: self.snapshotCopyGrantName,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeSnapshotSchedulesMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeSnapshotSchedulesMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            scheduleIdentifier: self.scheduleIdentifier,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeTableRestoreStatusMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeTableRestoreStatusMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            tableRestoreRequestId: self.tableRestoreRequestId
        )
    }
}

extension Redshift.DescribeTagsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeTagsMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            resourceName: self.resourceName,
            resourceType: self.resourceType,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues
        )
    }
}

extension Redshift.DescribeUsageLimitsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.DescribeUsageLimitsMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            featureType: self.featureType,
            marker: token,
            maxRecords: self.maxRecords,
            tagKeys: self.tagKeys,
            tagValues: self.tagValues,
            usageLimitId: self.usageLimitId
        )
    }
}

extension Redshift.GetReservedNodeExchangeConfigurationOptionsInputMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.GetReservedNodeExchangeConfigurationOptionsInputMessage {
        return .init(
            actionType: self.actionType,
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            snapshotIdentifier: self.snapshotIdentifier
        )
    }
}

extension Redshift.GetReservedNodeExchangeOfferingsInputMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.GetReservedNodeExchangeOfferingsInputMessage {
        return .init(
            marker: token,
            maxRecords: self.maxRecords,
            reservedNodeId: self.reservedNodeId
        )
    }
}

extension Redshift.ListRecommendationsMessage: AWSPaginateToken {
    @inlinable
    public func usingPaginationToken(_ token: String) -> Redshift.ListRecommendationsMessage {
        return .init(
            clusterIdentifier: self.clusterIdentifier,
            marker: token,
            maxRecords: self.maxRecords,
            namespaceArn: self.namespaceArn
        )
    }
}

// MARK: Waiters

@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
extension Redshift {
    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterAvailable(
        _ input: DescribeClustersMessage,
        maxWaitTime: TimeAmount? = nil,
        logger: Logger = AWSClient.loggingDisabled
    ) async throws {
        let waiter = AWSClient.Waiter<DescribeClustersMessage, _>(
            acceptors: [
                .init(state: .success, matcher: try! JMESAllPathMatcher("clusters[].clusterStatus", expected: "available")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("clusters[].clusterStatus", expected: "deleting")),
                .init(state: .retry, matcher: AWSErrorCodeMatcher("ClusterNotFound")),
            ],
            minDelayTime: .seconds(60),
            command: self.describeClusters
        )
        return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
    }
    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterAvailable(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DescribeClustersMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        try await self.waitUntilClusterAvailable(input, logger: logger)
    }

    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterDeleted(
        _ input: DescribeClustersMessage,
        maxWaitTime: TimeAmount? = nil,
        logger: Logger = AWSClient.loggingDisabled
    ) async throws {
        let waiter = AWSClient.Waiter<DescribeClustersMessage, _>(
            acceptors: [
                .init(state: .success, matcher: AWSErrorCodeMatcher("ClusterNotFound")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("clusters[].clusterStatus", expected: "creating")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("clusters[].clusterStatus", expected: "modifying")),
            ],
            minDelayTime: .seconds(60),
            command: self.describeClusters
        )
        return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
    }
    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterDeleted(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DescribeClustersMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        try await self.waitUntilClusterDeleted(input, logger: logger)
    }

    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterRestored(
        _ input: DescribeClustersMessage,
        maxWaitTime: TimeAmount? = nil,
        logger: Logger = AWSClient.loggingDisabled
    ) async throws {
        let waiter = AWSClient.Waiter<DescribeClustersMessage, _>(
            acceptors: [
                .init(state: .success, matcher: try! JMESAllPathMatcher("clusters[].restoreStatus.status", expected: "completed")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("clusters[].clusterStatus", expected: "deleting")),
            ],
            minDelayTime: .seconds(60),
            command: self.describeClusters
        )
        return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
    }
    /// Waiter for operation ``describeClusters(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterIdentifier: The unique identifier of a cluster whose properties you are requesting. This parameter is case sensitive. The default is that all clusters defined for an account are returned.
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.  Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - tagKeys: A tag key or keys for which you want to return all matching clusters that are associated with the specified key or keys. For example, suppose that you have clusters that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching clusters that are associated with the specified tag value or values. For example, suppose that you have clusters that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the clusters that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilClusterRestored(
        clusterIdentifier: String? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DescribeClustersMessage(
            clusterIdentifier: clusterIdentifier, 
            marker: marker, 
            maxRecords: maxRecords, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        try await self.waitUntilClusterRestored(input, logger: logger)
    }

    /// Waiter for operation ``describeClusterSnapshots(_:logger:)``.
    ///
    /// - Parameters:
    ///   - input: Input for operation
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilSnapshotAvailable(
        _ input: DescribeClusterSnapshotsMessage,
        maxWaitTime: TimeAmount? = nil,
        logger: Logger = AWSClient.loggingDisabled
    ) async throws {
        let waiter = AWSClient.Waiter<DescribeClusterSnapshotsMessage, _>(
            acceptors: [
                .init(state: .success, matcher: try! JMESAllPathMatcher("snapshots[].status", expected: "available")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("snapshots[].status", expected: "failed")),
                .init(state: .failure, matcher: try! JMESAnyPathMatcher("snapshots[].status", expected: "deleted")),
            ],
            minDelayTime: .seconds(15),
            command: self.describeClusterSnapshots
        )
        return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
    }
    /// Waiter for operation ``describeClusterSnapshots(_:logger:)``.
    ///
    /// - Parameters:
    ///   - clusterExists: A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:    If ClusterExists is set to true, ClusterIdentifier is required.   If ClusterExists is set to false and ClusterIdentifier isn't specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned.    If ClusterExists is set to false and ClusterIdentifier is specified for a deleted cluster, snapshots associated with that cluster are returned.   If ClusterExists is set to false and ClusterIdentifier is specified for an existing cluster, no snapshots are returned.
    ///   - clusterIdentifier: The identifier of the cluster which generated the requested snapshots.
    ///   - endTime: A time value that requests only snapshots created at or before the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - marker: An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSnapshots request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
    ///   - maxRecords: The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.  Default: 100  Constraints: minimum 20, maximum 100.
    ///   - ownerAccount: The Amazon Web Services account used to create or copy the snapshot. Use this field to filter the results to snapshots owned by a particular account. To describe snapshots you own, either specify your Amazon Web Services account, or do not specify the parameter.
    ///   - snapshotArn: The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.
    ///   - snapshotIdentifier: The snapshot identifier of the snapshot about which to return information.
    ///   - snapshotType: The type of snapshots for which you are requesting information. By default, snapshots of all types are returned. Valid Values: automated | manual
    ///   - sortingEntities: 
    ///   - startTime: A value that requests only snapshots created at or after the specified time. The time value is specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.  Example: 2012-07-16T18:00:00Z
    ///   - tagKeys: A tag key or keys for which you want to return all matching cluster snapshots that are associated with the specified key or keys. For example, suppose that you have snapshots that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag keys associated with them.
    ///   - tagValues: A tag value or values for which you want to return all matching cluster snapshots that are associated with the specified tag value or values. For example, suppose that you have snapshots that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the snapshots that have either or both of these tag values associated with them.
    ///   - logger: Logger used for logging
    @inlinable
    public func waitUntilSnapshotAvailable(
        clusterExists: Bool? = nil,
        clusterIdentifier: String? = nil,
        endTime: Date? = nil,
        marker: String? = nil,
        maxRecords: Int? = nil,
        ownerAccount: String? = nil,
        snapshotArn: String? = nil,
        snapshotIdentifier: String? = nil,
        snapshotType: String? = nil,
        sortingEntities: [SnapshotSortingEntity]? = nil,
        startTime: Date? = nil,
        tagKeys: [String]? = nil,
        tagValues: [String]? = nil,
        logger: Logger = AWSClient.loggingDisabled        
    ) async throws {
        let input = DescribeClusterSnapshotsMessage(
            clusterExists: clusterExists, 
            clusterIdentifier: clusterIdentifier, 
            endTime: endTime, 
            marker: marker, 
            maxRecords: maxRecords, 
            ownerAccount: ownerAccount, 
            snapshotArn: snapshotArn, 
            snapshotIdentifier: snapshotIdentifier, 
            snapshotType: snapshotType, 
            sortingEntities: sortingEntities, 
            startTime: startTime, 
            tagKeys: tagKeys, 
            tagValues: tagValues
        )
        try await self.waitUntilSnapshotAvailable(input, logger: logger)
    }
}
